home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d7 / gt1600_5.arc / GT16HOST.DOC < prev    next >
Text File  |  1990-12-15  |  139KB  |  2,833 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                 GT POWER - 16.00
  14.                  Copyright (c) 1985, 1990: by P & M Software Co.
  15.                             All rights are reserved.
  16.  
  17.  
  18.  
  19.                              Host Mode Documentation
  20.  
  21.  
  22.                                 December 10, 1990
  23.  
  24.  
  25.  
  26.  
  27.                              P & M Software Company
  28.                              3104 E. Camelback Rd. #503
  29.                              Phoenix, AZ      85016
  30.                              U. S. A.
  31.  
  32.  
  33.  
  34.                              Voice Phone: (602) 285-9914
  35.                              Modem Phone: (602) 285-1146
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.                                     - 1 -
  60.  
  61.  
  62.                                 Table of Contents
  63.                     -----------------------------------------
  64.      A Brief Summary . . . . . . . . . . . . . . . . . . . . . . .  4
  65.      The Installation Of Host Mode . . . . . . . . . . . . . . . .  4
  66.          The Modem Init String . . . . . . . . . . . . . . . . . .  4
  67.          The Host Mode: Modem Init String  . . . . . . . . . . . .  4
  68.          The Modem Answer String . . . . . . . . . . . . . . . . .  5
  69.          The Modem Result Codes  . . . . . . . . . . . . . . . . .  5
  70.          Logging Status During Host Mode . . . . . . . . . . . . .  5
  71.          Hang-up During Host Mode  . . . . . . . . . . . . . . . .  6
  72.          The BBS/CBS Path  . . . . . . . . . . . . . . . . . . . .  6
  73.          The Default Message Base Path . . . . . . . . . . . . . .  7
  74.          The Default File Section  . . . . . . . . . . . . . . . .  7
  75.          File Reception Directory  . . . . . . . . . . . . . . . .  7
  76.          The Sysop Message Base  . . . . . . . . . . . . . . . . .  7
  77.      Security Considerations . . . . . . . . . . . . . . . . . . .  7
  78.          DSZ.EXE, PCKERMIT.EXE and Other Externals . . . . . . . .  9
  79.      Host Mode Text Files  . . . . . . . . . . . . . . . . . . . . 12
  80.          Forcing a "More?" Prompt  . . . . . . . . . . . . . . . . 12
  81.          Disable the "More?" Prompt  . . . . . . . . . . . . . . . 12
  82.          Nest the Display of Bulletins . . . . . . . . . . . . . . 12
  83.          Disable the ^K/^C Break . . . . . . . . . . . . . . . . . 12
  84.          The Variable Substitution Line  . . . . . . . . . . . . . 12
  85.          ANSI Graphics (.BBS vs .CBS)  . . . . . . . . . . . . . . 12
  86.      File Descriptions . . . . . . . . . . . . . . . . . . . . . . 13
  87.          GTSYSID.BBS . . . . . . . . . . . . . . . . . . . . . . . 13
  88.          GTWELCOM.BBS  . . . . . . . . . . . . . . . . . . . . . . 13
  89.          GTPASSWD.BBS  . . . . . . . . . . . . . . . . . . . . . . 13
  90.              Field Descriptions  . . . . . . . . . . . . . . . . . 14
  91.              GTPASSWD Comment Entries  . . . . . . . . . . . . . . 17
  92.          GTBULLET.BBS  . . . . . . . . . . . . . . . . . . . . . . 17
  93.          BULLETx.BBS . . . . . . . . . . . . . . . . . . . . . . . 17
  94.          GTMENU.BBS  . . . . . . . . . . . . . . . . . . . . . . . 17
  95.          GTHELP.BBS  . . . . . . . . . . . . . . . . . . . . . . . 17
  96.          GTBYE.BBS . . . . . . . . . . . . . . . . . . . . . . . . 17
  97.          GTBYEx.BBS  . . . . . . . . . . . . . . . . . . . . . . . 17
  98.          GTUSER.BBS  . . . . . . . . . . . . . . . . . . . . . . . 17
  99.          GTDIR.BBS . . . . . . . . . . . . . . . . . . . . . . . . 18
  100.              Comment Lines . . . . . . . . . . . . . . . . . . . . 18
  101.              Directory Lines . . . . . . . . . . . . . . . . . . . 18
  102.          GTDDIR.BBS  . . . . . . . . . . . . . . . . . . . . . . . 19
  103.          GTBMENU.BBS . . . . . . . . . . . . . . . . . . . . . . . 20
  104.          GTMDIR.BBS  . . . . . . . . . . . . . . . . . . . . . . . 21
  105.          GTDOORS.BBS . . . . . . . . . . . . . . . . . . . . . . . 22
  106.              GTDOORnn.BAT and GTDORnnn.BAT . . . . . . . . . . . . 23
  107.          ANSWERn.BBS . . . . . . . . . . . . . . . . . . . . . . . 23
  108.          QUESTn.BBS  . . . . . . . . . . . . . . . . . . . . . . . 24
  109.          PQUESTn.BBS . . . . . . . . . . . . . . . . . . . . . . . 25
  110.          GTQMENU.BBS . . . . . . . . . . . . . . . . . . . . . . . 25
  111.          PROTOCOL.BBS  . . . . . . . . . . . . . . . . . . . . . . 25
  112.          WELCOME.BBS . . . . . . . . . . . . . . . . . . . . . . . 26
  113.          MBULLETx.BBS  . . . . . . . . . . . . . . . . . . . . . . 26
  114.          SYSOP.BBS . . . . . . . . . . . . . . . . . . . . . . . . 26
  115.          SCHEDULE.BBS  . . . . . . . . . . . . . . . . . . . . . . 29
  116.  
  117.  
  118.                                     - 2 -
  119.  
  120.  
  121.          TRASHCAN.BBS  . . . . . . . . . . . . . . . . . . . . . . 30
  122.          FILES.BBS . . . . . . . . . . . . . . . . . . . . . . . . 31
  123.      Host Mode Control Files and Directories . . . . . . . . . . . 32
  124.      Running Host Mode . . . . . . . . . . . . . . . . . . . . . . 34
  125.          SYSOP Commands  . . . . . . . . . . . . . . . . . . . . . 34
  126.          Command Line Usage  . . . . . . . . . . . . . . . . . . . 34
  127.          The HOST.BAT File . . . . . . . . . . . . . . . . . . . . 36
  128.          The HOST.SCR File . . . . . . . . . . . . . . . . . . . . 36
  129.          Using a LAN with GT . . . . . . . . . . . . . . . . . . . 37
  130.              The CB Simulator  . . . . . . . . . . . . . . . . . . 38
  131.      The Host Mode LOG . . . . . . . . . . . . . . . . . . . . . . 41
  132.      The Shell to DOS  . . . . . . . . . . . . . . . . . . . . . . 41
  133.          COMMAND.COM . . . . . . . . . . . . . . . . . . . . . . . 41
  134.          DOS 2.xx  . . . . . . . . . . . . . . . . . . . . . . . . 41
  135.      Using the Shell to DOS  . . . . . . . . . . . . . . . . . . . 42
  136.      The Usage of Color  . . . . . . . . . . . . . . . . . . . . . 43
  137.      The Logon Doors . . . . . . . . . . . . . . . . . . . . . . . 43
  138.      The Logoff Doors  . . . . . . . . . . . . . . . . . . . . . . 44
  139.      Appendix  . . . . . . . . . . . . . . . . . . . . . . . . . . 45
  140.          Extended ASCII Codes  . . . . . . . . . . . . . . . . . . 45
  141.          Sample ANSI Sequences . . . . . . . . . . . . . . . . . . 45
  142.          Power-Loss Protected Operation  . . . . . . . . . . . . . 46
  143.          Sample Files For Power-Loss Protected Operation . . . . . 47
  144.          GT POWER under DESQview . . . . . . . . . . . . . . . . . 48
  145.  
  146.      (tm) DESQview is the trademark of QuarterDeck Office Systems.
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.                                     - 3 -
  178.  
  179.  
  180.      Brief Summary
  181.      -------------
  182.      The host mode provided within GT POWER allows you to run an unattended
  183.      session with your system.  That is,  if you expect  to  receive  calls
  184.      from  other  computer systems (say from clients or a set of authorized
  185.      remote users) then you can tell GT POWER that it should  automatically
  186.      answer the telephone for you,  verify the caller's credentials, and if
  187.      found to be valid,  to provide that user with a menu of functions that
  188.      can   be  performed.   All  of  that,   of  course,   without  further
  189.      intervention on your part.
  190.  
  191.      Security is of paramount importance when  running  in  host  mode  for
  192.      obvious   reasons.   Please   read   the  section  entitled  'Security
  193.      Considerations' before attempting to operate this system.
  194.  
  195.  
  196.      Installation of Host Mode
  197.      -------------------------
  198.      The most important thing about host mode is proper installation of the
  199.      modem control strings and result codes.  These strings and codes  must
  200.      not just control the modem,  they MUST WORK TOGETHER.  For example, if
  201.      the modem init strings specify "verbose" result codes, then the result
  202.      code table better have the "verbose" codes  in  it,  not  the  "terse"
  203.      codes.  There  are 11 specific areas that *must* be installed;  all of
  204.      these options and strings are accessible via the ALT-I command.  Let's
  205.      discuss each of these items in turn:
  206.  
  207.      1.   The "Modem Init String".  The default value is:
  208.  
  209.                            AT V1 Q0 E0 X1 S0=0 S2=43|
  210.  
  211.           Assuming that one wants to  use  the  default  string,  there  is
  212.           really  only one thing that one SHOULD DO to this string:  change
  213.           the Xn command.  The most powerful Xn command available  on  your
  214.           modem  is  the  one  to  choose.  With  a USRobotics Courier 2400
  215.           modem,  use either X5 or X6.  With a normal Hayes-compatible 1200
  216.           baud modem, use X1.  X4 would be normal for most Hayes-compatible
  217.           2400 baud modems.  For other modems consult the modem manual.
  218.  
  219.           NOTE:
  220.                Many  so  called  "Hayes-compatibles" are compatible in name
  221.                only.  We get many calls for support from  individuals  with
  222.                non-Hayes  modems.  Please  read your modem manual carefully
  223.                because it is very hard to support all the different modems.
  224.  
  225.      2.   The "Host Mode:  Modem Init String".  This string is found  under
  226.           item #30 of the configuration screen.  The default value is:
  227.  
  228.                            AT V1 Q0 E0 M0 X1 S0=1 S2=255|
  229.  
  230.           There are several things one could do to this string.  First, one
  231.           must modify the X1 command to match the value added to the  Modem
  232.           Init  String  above.  Secondly,  if one desires the speaker to be
  233.           heard during host mode,  remove the M0 from the string.  Thirdly,
  234.  
  235.  
  236.                                     - 4 -
  237.  
  238.  
  239.           the  S0=1  may  be changed to S0=0,  THIS IS THE ONLY OTHER VALID
  240.           VALUE!  If S0=0 is used, the modem will not answer automatically,
  241.           GT will count the rings and command the modem to answer after the
  242.           2nd ring (or if the /Rn command line switch is  used,  after  the
  243.           Nth  ring).  This  is  why S0=1 and S0=0 are the only permissible
  244.           values!  Refer  to  the  main  GT.DOC  file  for  a  complete
  245.           discussion of the available command line switches.
  246.  
  247.      3.   The  "Modem Answer String".  This string is located with the Host
  248.           Modem Init String under item #30  of  the  configuration  screen.
  249.           The default value is:
  250.  
  251.                            ATA|
  252.  
  253.           GT  will  issue  this string to the modem whenever the ring count
  254.           reaches 2 (or the number  indicated  by  the  /Rn  switch).  This
  255.           string should not be changed,  unless GT should not be allowed to
  256.           answer the modem.  For example,  one could erase this string  and
  257.           set S0=5,  so that the modem would answer on the 5th ring,  but I
  258.           don't advise anyone do this.
  259.  
  260.      4.   The "Result Codes".  Because the modem init strings above contain
  261.           V1,  "verbose" result codes should be  programmed.  They  can  be
  262.           found  under  item #29 of the configuration screen.  There are 16
  263.           possible results.  If the modem does not support  all  of  these,
  264.           simply  leave  the  extra  strings  in  their default state.  The
  265.           program comes with the default result codes set for  use  with  a
  266.           USRobotics  Courier HST modem.  Please consult the manual for the
  267.           modem in use and modify this table to match.  Remember,  use  the
  268.           "verbose" (word codes), not the "terse" codes.  It IS POSSIBLE to
  269.           use  the "terse" codes,  but they are not as compatible with such
  270.           services as PC Pursuit.
  271.  
  272.           If  one of the newer high speed modems is in use,  such as a v.42
  273.           type,  it is most likely that the modem  has  more  CONNECT  type
  274.           result  codes than GT has space in its table.  To get around this
  275.           problem,  and avoid the necessity of  continually  expanding  the
  276.           result  code  table,  GT  will  automatically  recognize  CONNECT
  277.           messages that match the standard form.  For example:
  278.  
  279.                                 CONNECT 9600/REL
  280.  
  281.           This code is not one of the default codes in the  table,  but  GT
  282.           will recognize it, since it matches the standard form:
  283.  
  284.                        (1) The word CONNECT, followed by
  285.                        (2) The DCE baud rate, followed by
  286.                        (3) The error correction indicator.
  287.  
  288.           GT will automatically recognize this and take the proper  action.
  289.           To  enable  this smart result code handling,  the modem *must* be
  290.           setup to return "verbose" codes.
  291.  
  292.      5.   It  is  highly recommended that logging be TRUE during host mode.
  293.  
  294.  
  295.                                     - 5 -
  296.  
  297.  
  298.           Otherwise,  all records of  the  host  mode  activities  will  be
  299.           discarded.
  300.  
  301.      6.   How  to  allow GT to hang-up during host mode.  Since the "escape
  302.           code" must be disabled during host mode,  otherwise  some  caller
  303.           may  crash  your system,  the normal hang-up string,  "~+++~ATH",
  304.           will not work!  Therefore,  GT cannot hang-up the  modem,  unless
  305.           you set the modem to normal DTR operation.  During host mode,  GT
  306.           will drop the DTR signal whenever he wants the modem to  hang-up.
  307.           Most modems come from the factory set so that they ignore the DTR
  308.           signal  -  you  must reset a switch or,  in the case of the Hayes
  309.           2400 modem, you must make an entry in the Modem init string to do
  310.           this.  In any case, if the modem ignores DTR, it will not hang up
  311.           during host mode operations.  Some modems which must be setup via
  312.           the init strings to handle DTR properly use either  &D2  or  &D3,
  313.           please  consult  the manual for the modem in use to determine the
  314.           correct setting.
  315.  
  316.      7.   How does GT determine when a connection  is  lost?  The  GT  host
  317.           monitors  the  carrier  detect  signal from the modem,  when this
  318.           signal goes low,  then GT assumes that the  connection  has  been
  319.           lost.  Most  modems  come  from the manufacturer with the carrier
  320.           detect signal forced high.  "This is like having a telephone with
  321.           no  ringer."  Quote  by  Tom  Jennings.  Obviously,  this must be
  322.           changed.  Some modems have a switch that must be reset to  enable
  323.           a true carrier detect,  others require setup via the init string.
  324.           Many of the modems that require init string setup use &C1, please
  325.           consult the manual for the modem in use to determine the  correct
  326.           setting.
  327.  
  328.      8.   If this path is set,  GT will search that path for BBS/CBS files.
  329.           GT will also search the  GTPATH  directory  for  the  files.  The
  330.           GTPATH  directory  is search first,  then the BBS/CBS path.  This
  331.           feature will be of great interest to LAN users,  who are  advised
  332.           to become familiar with the DOS "subst" command, which will allow
  333.           GTMDIR.BBS  and GTDIR.BBS to be the same across a LAN.  Here is a
  334.           sample of the "subst" command:
  335.  
  336.                                  subst  e:  c:\
  337.  
  338.           If this command were invoked in the AUTOEXEC.BAT file on your LAN
  339.           server,  then all references to drive E:  on the server would  be
  340.           translated  to  drive  C.  This would be extremely helpful if the
  341.           LAN workstations mapped the server's drive  C  to  E  also.  This
  342.           would  mean  that both workstation and server could reference the
  343.           same physical drive with the same drive letter, i.e. E.
  344.  
  345.           It is possible to also use the BBS/CBS path for  the  door  batch
  346.           files, but it would be wise for LAN operators to make these files
  347.           Read-Only,  otherwise  they  can cause a SHARE violation,  as DOS
  348.           does not open them in a  shared  read  mode.  The  following  DOS
  349.           command can be used to make batch files Read-Only:
  350.  
  351.                                  attrib +r *.bat
  352.  
  353.  
  354.                                     - 6 -
  355.  
  356.  
  357.  
  358.           Assuming, of course, that the batch files to be altered are in
  359.           the current default directory.
  360.  
  361.      9.   Another option available under the Alt-I, #26, the pathname setup
  362.           section,  is the "Default Message Base PATH".  This option is  to
  363.           be  used to indicate to GT where the main or default message base
  364.           is located.  This is the message  base  that  the  user  will  be
  365.           initially  given  access to upon calling the system.  This should
  366.           be an open message base since all callers to the system that pass
  367.           the logon procedure will have access to this area.
  368.  
  369.      10.  Another option available under the Alt-I, #26, the pathname setup
  370.           section, it the "Default File Section".  This option indicates to
  371.           GT where the main or default file section  is  located.  This  is
  372.           the file section that callers will see initially when they access
  373.           your  system.  This  should  be  an area with the lowest security
  374.           access level, as everyone will be able to use it.
  375.  
  376.      11.  To designate the directory where the host  mode  receives  files,
  377.           you  should  specify the DOWNLOAD directory path.  This option is
  378.           specified under Alt-I, #26, the pathname setup section.  The user
  379.           may be confused by the terminology here,  so let me  stress  that
  380.           the  DOWNLOAD  directory  is  where  GT  POWER  *receives* files,
  381.           whether in host or terminal modes.  Further, the UPLOAD directory
  382.           path only pertains to Terminal Mode,  as the host mode file areas
  383.           are  otherwise  controlled  via  entries  in  the GTDIR.BBS file,
  384.           described below.
  385.  
  386.      12.  To specify the directory where the host mode will  save  messages
  387.           to  the  sysop.  These  messages are entered with the 'M' command
  388.           from the main menu.  This option is specified under  Alt-I,  #26,
  389.           the pathname setup section.
  390.  
  391.  
  392.      PLEASE NOTE:
  393.           The pathnames mentioned above are all found on the pathname setup
  394.           section, #26 of the Alt-I menu.
  395.  
  396.  
  397.      Security Considerations
  398.      -----------------------
  399.      Many  of  GT  POWER's  design  considerations  were  directed  towards
  400.      providing  absolute system integrity while in host mode.  This section
  401.      is designed  to  highlight  some  of  those  considerations  with  the
  402.      intention  of making the System operator of a host mode fully aware of
  403.      both his protection and his responsibilities in that regard.
  404.  
  405.      The fundamental truth about security is that essentially  it  is  YOUR
  406.      responsibility.  GT  POWER's  first  line of defense in your behalf is
  407.      its password  function.  Without  a  preassigned  password,  a  remote
  408.      caller  cannot  gain  access  to  the  functions provided by GT POWER!
  409.      Thus,  it stands to reason that your first responsibility is to assign
  410.      those  passwords and TO GUARD THEM.  Because there are several sets of
  411.  
  412.  
  413.                                     - 7 -
  414.  
  415.  
  416.      facilities that you will wish to control and to allow various users to
  417.      be provided selectively, GT provides several 'levels' of authorization
  418.      that may be assigned to each password.  In this way, all users who log
  419.      on with the same password will have identical (and only those that are
  420.      assigned) access to GT facilities.  For example,  GT POWER provides to
  421.      users  who  have  a  sufficiently  high 'level' of authorization,  the
  422.      ability to shell into DOS and,  thus,  have the ability to execute ANY
  423.      DOS  COMMAND  from  their  remote location!  Obviously,  you would not
  424.      casually distribute that password amongst your  user  community.  Most
  425.      users  should  NEVER be allowed to Shell to your DOS!  (While in DOS a
  426.      user could,  for example,  format your hard  disk  -  that  would,  of
  427.      course,  result  in  the end of subsequent functionality of the entire
  428.      system).   To  these  users  you  would  assign  a  lower  'level'  of
  429.      authority.  To do so you would simply change their access level to the
  430.      new level with the Sysop Tools program.
  431.  
  432.      One of the nicest features of the host mode provided by GT  POWER  are
  433.      its  message  bases.  With  this  feature  the users of the system may
  434.      leave 'mail' for other users and receive mail for themselves.  Indeed,
  435.      there are two kinds of mail:  Public and Private.  Public mail may  be
  436.      read by any user of the system.  Private mail,  on the other hand, may
  437.      be read only by the person sending  it  or  by  the  recipient.  Here,
  438.      then,  is  another  area  of security that you need to be aware of and
  439.      control.  For example,  say that you allow your system to be called by
  440.      clients of your firm and that they are encouraged to leave messages to
  441.      you  in your absence.  It is possible that several of your clients are
  442.      competitors of each other.  Thus,  it would be improper to allow  them
  443.      to read messages sent by others.  This is the reason for Private mail.
  444.      At  this point,  I would like to point out that there is no such thing
  445.      as 'Private' from the Sysop!  That is,  the System operator  may  read
  446.      any  message,  whether  addressed  to  him or not and whether they are
  447.      marked Private or not.  Finally, lest the earlier remarks did not sink
  448.      in,  any user who has access to the DOS via the Shell command (because
  449.      of  his  assigned  extremely high 'level' of authorization) can easily
  450.      read any messages while he is in the DOS Shell!
  451.  
  452.      As  far  as  sending  PRIVATE  messages  to  the  System  operator  is
  453.      concerned,  any user may do that!  There is an 'M' command on the Main
  454.      Menu that results in messages that only  the  Sysop  may  view.  These
  455.      messages  are  automatically  addressed  to  the  Sysop  and marked as
  456.      private.  They are placed in the  message  base  specified  for  sysop
  457.      messages,   they   may   be  read  only  by  someone  with  the  Sysop
  458.      authorization level.  This message base needs to be accessed at  least
  459.      once by the sysop during setup, to insure that a message is entered to
  460.      create  all control files.  Otherwise,  the system will not be able to
  461.      process 'M' messages to the sysop.
  462.  
  463.      The hierarchy of access 'levels' based on password enables  the  Sysop
  464.      to  control  which  directories on the disk those users have access to
  465.      for purposes of downloading files.  However, each caller to the system
  466.      will be granted access to the  "Default  file  section",  which  is  a
  467.      config  option.  So please be sure that this file section contains the
  468.      least sensitive material on your system.
  469.  
  470.  
  471.  
  472.                                     - 8 -
  473.  
  474.  
  475.      For ease of use,  it is recommended that the user  construct  a  batch
  476.      file  to invoke GT POWER,  especially host mode users.  It should look
  477.      like this:
  478.  
  479.             C:                              To specify a default drive of C
  480.             set GTPATH=C:\GT                Remember to set GTPATH!
  481.             :loop
  482.             GT1600 host.scr                 To invoke GT POWER
  483.             if errorlevel 255 goto loop     To trap the quit 255, and
  484.                                             restart the host mode.
  485.  
  486.      If the above batch file were called GT.BAT and placed in your system's
  487.      PATH then you could safely invoke GT  by  simply  typing:  GT.  It  is
  488.      important  to  note,  that one of the most frequent errors reported to
  489.      the GT support staff is the incorrect setting of GTPATH.
  490.  
  491.      As you will see when you read the next section  (about  the  GTDIR.BBS
  492.      file), you can allow your users to have access to all directories that
  493.      have  a  matching  authorization  level  OR  LOWER.  Further,  you can
  494.      specify that particular directories are  only  available  to  specific
  495.      authorization levels.
  496.  
  497.      Where is all this authorization level information kept within  the  GT
  498.      POWER system?  In a file called GTPASSWD.BBS.  That file is the key to
  499.      the  security  of your system.  One of the subtle security features of
  500.      GT POWER is that it will not allow that file,  even if it is contained
  501.      in a directory that the user has been authorized to Download from,  to
  502.      be transmitted over the telephone!
  503.  
  504.      NOTE:  That  the  external protocols can transfer prohibited files and
  505.             for this reason, extreme care should be taken when using either
  506.             DSZ.EXE or PCKERMIT.EXE.
  507.  
  508.      Similarly,  because the Log file that is optionally maintained  by  GT
  509.      contains  the  user  names and passwords of those who have logged onto
  510.      the system, it may not be transmitted over the telephone either.
  511.  
  512.      When  running  in  host  mode  the screen on the host system shows all
  513.      keystrokes entered by the remote user (except while he is in  the  DOS
  514.      Shell  or using a DOOR,  should that be allowed).  In other words,  if
  515.      the remote user,  for example,  entered a Private message  to  another
  516.      user, or to the Sysop, the text is showing on the host screen as it is
  517.      typed.  If  the  user  were  to log off immediately after entering the
  518.      message then it would  be  possible  that  the  text  of  the  message
  519.      remained  on  the screen.  GT POWER erases the screen after the caller
  520.      hangs up to prevent such a lapse in security.  If you  are  running  a
  521.      host  mode  system  in  an  environment  where others might be able to
  522.      observe the screen then it is recommended that you turn  your  monitor
  523.      off while you are not in attendance.
  524.  
  525.      If  others may be in the area as you are communicating (chatting) with
  526.      users and you wish to control the information on the screen you  would
  527.      do  well  to  remember that the Alt-W keystroke will erase your screen
  528.      instantly.
  529.  
  530.  
  531.                                     - 9 -
  532.  
  533.  
  534.  
  535.      A user-name may be BANned from accessing the  system.  Note,  however,
  536.      that  doing so merely encourages an undesirable to log on with another
  537.      user name.  With the advent of personalized passwords,  this provision
  538.      has  become more effective,  since one could setup the system password
  539.      to have  a  low  access  level,  which  would  be  raised  only  after
  540.      validation.
  541.  
  542.      Computer  time  is  a resource that you can also control in host mode.
  543.      Each password may have a designated time limit beyond which the caller
  544.      will be automatically logged off.  The number of calls per day made to
  545.      your system by an individual caller is also subject to control.
  546.  
  547.      One  of  the  more  subtle  security  measures  needed  in a host mode
  548.      ennvironment is called a 'Watchdog'.  In the  GT  POWER  system,  this
  549.      function  is  provided  by a program called DOORMAN.  DOORMAN is a TSR
  550.      program that should be loaded in your AUTOEXEC.BAT  file,  it  has  no
  551.      command  line  options,  and  is  loaded simply by its name,  DOORMAN.
  552.      Should an authorized user be in the DOS Shell or out in a DOOR, and if
  553.      for any reason he were to drop his carrier (hang-up), the system would
  554.      then be vulnerable to the next caller as that caller  could  find  the
  555.      system "in" DOS and he would then have uncontrolled access to do as he
  556.      pleased to your system.  In the situation mentioned,  loss of carrier,
  557.      DOORMAN will force  your  system  to  reboot  and  if  you  setup  the
  558.      AUTOEXEC.BAT  file  properly,  when  the system completes rebooting it
  559.      will invoke GT and put it back in host  mode!  The  same  thing  would
  560.      happen  if  a  power  failure occurs during host mode operation.  When
  561.      power is restored the system will automatically  return  to  the  host
  562.      mode of GT POWER.  Note,  however,  that for those systems that do not
  563.      have a built in clock, the time and date of the system would no longer
  564.      be correct.
  565.  
  566.      As a Sysop of a GT system you must be aware that there are some  legal
  567.      considerations that you may face.  For example, should you allow users
  568.      to place copyrighted programs onto your system and to then allow other
  569.      users  to download those same programs,  then you are participating in
  570.      an illegal activity!  Naturally there is no way to prevent a user from
  571.      sending you copyrighted material,  provided he has upload  capability.
  572.      There  are many things that you can do,  however,  to stop others from
  573.      having access to that material.  For example,  GT POWER allows you  to
  574.      cause  all  files that are uploaded to your system to be placed into a
  575.      special receiving directory,  rather than into the directory the  user
  576.      is currently using.  It makes good sense to make a receiving directory
  577.      PRIVATE,  in  the  sense  that  it  is  NOT listed as available in the
  578.      GTDIR.BBS to your remote users.  In this way, you may review the files
  579.      received at  your  convenience  and  move  them  over  to  the  public
  580.      directories if you are satisfied that they are either public domain or
  581.      Shareware programs and files.
  582.  
  583.      Another  reason that you will want to do the above is that there are a
  584.      few people out in the world that like to send what are  called  Trojan
  585.      Horse programs to BBS's.  A Trojan Horse is a program that causes some
  586.      form  of  damage  when it is run.  It would not be at all fair to your
  587.      users to expose them to such programs.  So, when it is safe for you to
  588.  
  589.  
  590.                                    - 10 -
  591.  
  592.  
  593.      do so,  run the programs  you  receive  before making it publicly
  594.      available (using  BOMBSQAD  or  a
  595.      similar program to prevent a problem for you).  When you are satisfied
  596.      that  the  programs received are safe then you can move them to public
  597.      areas.
  598.  
  599.      NOTE: Running programs uploaded to a BBS is extremely  dangerous.  And
  600.            can result is the crash of your system, i.e.  someone may break-
  601.            in,  because you have run what seems to be  a  harmless  upload.
  602.            Please be carefull!!
  603.  
  604.      And  in  the  event  that  a  user  does  send  you  a Trojan Horse or
  605.      copyrighted code,  it is in your best interest to know who did so.  GT
  606.      POWER  provides  an  optional  log file function.  If that is enabled,
  607.      which is highly recommended,  then the log contains the  name  of  the
  608.      person  who logged on and sent you the file.  GT also puts the name of
  609.      the uploader with the file description given at the time of upload.
  610.  
  611.      This section of the document is substantially larger than you may have
  612.      expected it to be.  The reason should now be obvious.
  613.  
  614.      YOU are the person responsible for security.  It is necessary that you
  615.      know the previous information and take appropriate actions.
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.                                    - 11 -
  650.  
  651.  
  652.      Host Mode Text Files
  653.      --------------------
  654.      The following text files must be created  and/or  maintained  with  an
  655.      editor  that  can  produce plain ASCII files.  Any of the display type
  656.      BBS files may have a DC2, Ctrl-R,  character inserted into column 1 of
  657.      line 1 to disable the "More?" prompt during display of the file, and a
  658.      DC4, Ctrl-T, character inserted into column 1 of line 1 to disable the
  659.      Ctrl-K and/or Ctrl-C user break,  or a ENQ, Ctrl-E, character inserted
  660.      into column 1 of any line to force a "More?" pause  at  that  line.  A
  661.      NAK,  Ctrl-U,  can  be inserted in column 1 of any line to introduce a
  662.      variable substitution line.  The ACK, Ctrl-F,  can be used in column 1
  663.      of a bulletin file to nest the display of other text files.
  664.  
  665.      +--------------------------------------------------------------------+
  666.      |                                                                    |
  667.      |     Ctrl-E ... ENQ ... Insert a "More?" at current location.       |
  668.      |     Ctrl-F ... ACK ... Nest the display of bulletin files.         |
  669.      |     Ctrl-R ... DC2 ... Disable "More?" during file display.        |
  670.      |     Ctrl-T ... DC4 ... Disable ^K/^C break during file display.    |
  671.      |     Ctrl-U ... NAK ... Introduce variable substitution line.       |
  672.      |                                                                    |
  673.      +--------------------------------------------------------------------+
  674.  
  675.      Please  note  that once the Ctrl-E command has been used the automatic
  676.      insertion of "More?" prompts are terminated for the  duration  of  the
  677.      current display.
  678.  
  679.      Using the Ctrl-R to disable the "More?" prompt is useful when the file
  680.      contains such graphic or annimation techniques that would  be  spoiled
  681.      by  such  interruption.  Except  for the GT?DIR.BBS files,  every .BBS
  682.      file can have two versions:  (a) a color graphics  version  or  (b)  a
  683.      plain  text  version.  This  is  coordinated  with  the  ANSI graphics
  684.      question asked of callers before  they  logon  the  system.  The  .BBS
  685.      extension  is  the default used if only one version of the file can be
  686.      found by GT,  the .CBS extension is used to  indicate  to  GT  that  a
  687.      graphics  version  is available.  If both versions are available,  the
  688.      .CBS version will be shown to callers who elect graphics,  if graphics
  689.      are not elected by the caller, the .BBS version will be displayed.
  690.  
  691.      The variable substitution line is interpreted by GT, and certain
  692.      substitutions can be made.  The following are supported:
  693.  
  694.           A ... The DTE baud rate.
  695.           B ... The DCE baud rate.
  696.           C ... The caller's number (i.e. the 100th caller).
  697.           D ... The current calendar date.
  698.           F ... The caller's first name.
  699.           G ... The caller's screen length setting.
  700.           H ... The caller's home - city and state.
  701.           L ... Time left for current session in minutes.
  702.           M ... The current message base description.
  703.           N ... The caller's full name.
  704.           R ... The caller's upload amount in kilobytes.
  705.           RF .. The caller's upload amount in number of files.
  706.  
  707.  
  708.                                    - 12 -
  709.  
  710.  
  711.           S ... The current file section description.
  712.           T ... The current time of day.
  713.           Wn .. Set width of the parameter that follows to 'n' columns.
  714.           X ... The caller's download amount in kilobytes.
  715.           XF .. The caller's download amount in number of files.
  716.           n ... 'n' number of blank columns.
  717.  
  718.      In addition to these items, plain text may also appear on the variable
  719.      substitution line, it must be quoted however, like this:
  720.  
  721.                 "plain text between quotation marks"
  722.  
  723.           For example:
  724.  
  725.                 ^U"          Name: "N
  726.                 ^U"         First: "F
  727.                 ^U"          Home: "H
  728.                 ^U"Time remaining: "L
  729.                 ^U"  Current time: "T
  730.                 ^U" Blank Columns: "30"30 of them."
  731.                 ^U"   Fixed width: "W30N"30 characters in width"
  732.  
  733.      The nesting of bulletin files with the Ctrl-F character  is  extremely
  734.      useful,  but also hazzardous, if the nesting is done to a great level.
  735.      For best results,  the nesting should be kept to a  single  level.  An
  736.      example of usage is:
  737.  
  738.                                  ^FC:\GT\FOO.BAR
  739.  
  740.      Please note that there is no space between the Ctrl-F and the filename
  741.      and that the full pathname must be given for the file.
  742.  
  743.      File Descriptions
  744.      -----------------
  745.      GTSYSID.BBS     This  file is displayed as soon as the GT host detects
  746.                      a connection has been  established  with  an  incoming
  747.                      call.  After  displaying  this  file,  GT will ask the
  748.                      user if the terminal program he is using supports ANSI
  749.                      graphics.
  750.  
  751.      GTWELCOM.BBS    This file is displayed to a caller just before  he  is
  752.                      asked for his name by the GT host.  It should identify
  753.                      the system to callers.
  754.  
  755.      GTPASSWD.BBS    This  file  contains the list of passwords that people
  756.                      must know to access the system.  The entries  in  this
  757.                      file  are composed of one line per password,  and each
  758.                      line contains the following information,  beginning in
  759.                      column 1:
  760.  
  761.      Lvlx ([xx:xx(,n,hh:mm,path)]) Pwd Auth (1st-Name Last-Name Phone-Number)
  762.  
  763.                      These  items  can  have  a  variable  number of blanks
  764.                      between them,  but the "Lvl" must begin in  column  1.
  765.  
  766.  
  767.                                    - 13 -
  768.  
  769.  
  770.                      EACH  PASSWORD,  "Pwd",  MUST  BE UNIQUE and from 1-20
  771.                      characters in length.
  772.  
  773.                      The () which have been  shown  around  the  call  time
  774.                      limit, the daily call limit, the daily time limit, the
  775.                      name,  and  phone  number fields,  indicate that these
  776.                      items are optional and need not  be  included  in  the
  777.                      file.
  778.  
  779.                      Field descriptions:
  780.                      -------------------
  781.                      Lvlx ... The Access Level assigned to this entry.  May
  782.                               be any character from the following sets:  0-
  783.                               9,  A-Z,  or a-z.  NOTE:  "0" is the  highest
  784.                               level   and  "z"  is  the  lowest.   The  'x'
  785.                               following 'Lvl' is  the  bullet  number  that
  786.                               this  caller  will  be  shown.  Valid  bullet
  787.                               numbers  are  0-9,   A-Z.   Read   additional
  788.                               instructions bellow under BULLETx.BBS.
  789.  
  790.                      xx:xx .. The  Call Time Limit.  This field is optional
  791.                               and is enclosed within [...].  If omitted, it
  792.                               defaults to approximately 24 hours.
  793.  
  794.                      n ...... The Daily Call Limit.  This field is  a  sub-
  795.                               field within the [...] of the Call Time Limit
  796.                               field.  It  cannot  be  specified without the
  797.                               Call  Time  Limit   being   specified   also.
  798.                               Example:  [1:30,2]  would grant two calls per
  799.                               day of 1:30 duration each.
  800.  
  801.                      hh:mm .. The Daily Time Limit.  This field is  a  sub-
  802.                               field within the [...] of the Call Time Limit
  803.                               field.  It  cannot  be  specified without the
  804.                               Call Time Limit  and  the  Daily  Call  Limit
  805.                               being specified also.  Example: [1:00,5,2:00]
  806.                               would grant five calls per day, each of up to
  807.                               1 hour each, but a maximum of 2 hours per day
  808.                               total usage.
  809.  
  810.                      path ... The  upload  pathname.  This  specifies where
  811.                               files uploaded by a particular class of  user
  812.                               are to be stored.
  813.  
  814.                      pwd .... The  Password.  As  said above,  the password
  815.                               may be from 1-20  characters  in  length  and
  816.                               must  be  unique.  If  this  line  is a class
  817.                               entry the "pwd" field should contain the word
  818.                               CLASS in capital letters.
  819.  
  820.                      auth ... The Authorizations given to this entry.  They
  821.                               come from the following list:
  822.  
  823.                               UP : Upload authorized.
  824.  
  825.  
  826.                                    - 14 -
  827.  
  828.  
  829.                               DN : Download authorized.
  830.                               PR : Private mail authorized.
  831.                               KL : Allow the killing of messages,  the same
  832.                                    as the Sysop.
  833.                               SY : Sysop priveledges authorized.
  834.                               CH : Manual directory  change  is  authorized
  835.                                    (in absence of the GTDIR.BBS file).
  836.                               CB : CB Simulator authorized.
  837.                               SH : Shell to DOS is authorized.
  838.                               DR : Use of DOORS is authorized.
  839.                               MS : Allows message reading.
  840.                               FA : Allows   file   attach  when  using  the
  841.                                    netmail programs.
  842.                               FR : Allows  file  request  when  using   the
  843.                                    netmail programs.
  844.                               NL : Disable  the  L)ist directory command at
  845.                                    the main menu.
  846.                               NE : Disable the E)nter message command.
  847.                               NP : Disable the sysop P)age command.
  848.  
  849.                               These  authorizations are listed seperated by
  850.                               commas,   following  the  "pwd"  field.   See
  851.                               examples  below.  The  CH  authorization is a
  852.                               "do nothing"  authorization  in  most  cases,
  853.                               because  most  systems  use a GTDIR.BBS file.
  854.                               On these systems the CH option may be used as
  855.                               a way to grant no  authorization,  because  a
  856.                               total   lack   of  authorization  yields  the
  857.                               default authorization set: DN,UP,PR,MS.
  858.  
  859.                      1st-Name Last-Name Phone-Number
  860.                               These  three  fields  are  present when it is
  861.                               desired  to  allow  the   caller   "callback"
  862.                               priveledges.  In effect, if the caller's name
  863.                               matches the name listed here and he gives the
  864.                               correct  password,  the  system will offer to
  865.                               call him at the listed  number.  This  allows
  866.                               the  host  to  assume  the  cost of the phone
  867.                               charges for the session.  The caller must  be
  868.                               prepared  to  accept  the  call,  that is his
  869.                               modem must be  in  "auto-answer"  mode.  Send
  870.                               "ATS0=1|"  to  most  Hayes type modems to set
  871.                               auto-answer  mode.   The  "|"  represents   a
  872.                               "carriage return".  If the conditions are met
  873.                               GT  will  return  the call within 15 seconds,
  874.                               and will retry 3 times before giving-up  hope
  875.                               of  establishing  the connection.  NOTE:  the
  876.                               password assigned here for the callback, must
  877.                               *not* be the same as  the  caller's  personal
  878.                               password  --  the callback password *MUST* be
  879.                               unique.
  880.  
  881.               NOTE:  It is possible to append a  single  character  to  the
  882.                      level  indicator.  Thus  "A1"  would be a valid level.
  883.  
  884.  
  885.                                    - 15 -
  886.  
  887.  
  888.                      This extra character is  used  to  identify  a  custom
  889.                      bulletin  file  for this caller.  This extra character
  890.                      is optional,  but if present MUST BE a character  that
  891.                      is  legal within a file name.  Read about BULLET files
  892.                      below.
  893.  
  894.                 Examples:
  895.                      A  [2:00,100,5:00,c:\goodies] MASTER  SY
  896.                      B1 [1:00] FRIEND  DN,PR
  897.                      B1 [1:00,4,2:00,c:\up] CLASS DN,UP,PR
  898.                      C  [1:30] JOGGER  DN,UP,PR,DR MARY ADAMS 1-213-555-1234
  899.                      A  [2:00,10,4:00] CLASS SY
  900.                      C2 [2:00,3,3:00] CLASS DN,UP,PR,DR
  901.  
  902.                      In  version 12.10 of GT POWER,  personalized passwords
  903.                      were introduced.  When  a  caller  gets  his  personal
  904.                      password  it is stored in the USER.CTL file,  with the
  905.                      other user information.  The access level assigned  to
  906.                      the  password  used  by  the  caller on the first call
  907.                      (before a personal password was assigned) will be  the
  908.                      access  level assigned to the caller until changed via
  909.                      the SYSOP program.  To provide  a  time  limit,  daily
  910.                      call  limit,  and  bullet#,  a  cross reference of the
  911.                      access level stored in the users  record  in  USER.CTL
  912.                      file  and  the GTPASSWD.BBS file is required.  This is
  913.                      accomplished by placing CLASS cards  for  each  access
  914.                      level  your  system  uses  into the GTPASSWD.BBS file.
  915.                      The format of the CLASS card is the same as  a  normal
  916.                      password  entry,  except the word CLASS must appear in
  917.                      uppercase letters.  In  addition,  the  CLASS  entries
  918.                      cannot  be used to provide callbacks,  normal password
  919.                      entries must be provided for that  purpose.  Here  are
  920.                      some example CLASS entries:
  921.  
  922.                 Examples:
  923.                      A1  [2:00,5,3:00]  CLASS  DN,UP,PR,DR,SH,MS
  924.                      B3  [1:30,2,2:00]  CLASS  DN,PR,MS
  925.                      K2  [:45,1,:45]    CLASS  DN,UP,PR,DR,MS
  926.  
  927.                      The  first CLASS entry establishes a class for callers
  928.                      with an 'A' access  level,  grants  them  2  hours  of
  929.                      session  time,  and  a daily call limit of 5 calls,  3
  930.                      hours  of  time  per   day,   and   gives   them   the
  931.                      authorizations:  Download,  Upload,  Private mail, use
  932.                      DOORS,  Shell to DOS,  and read  messages.  The  other
  933.                      entries  grant  lesser time amounts to the 'B' and 'K'
  934.                      classes.  The 'B' class  is  given  Download,  Private
  935.                      mail, and read messages authorizations.  The 'K' class
  936.                      is given Download,  Upload,  Private mail,  use DOORS,
  937.                      and  read  messages  authorizations.   Note:   if  you
  938.                      neglect  to setup CLASS entries then once your callers
  939.                      have been assigned their own personal  passwords,  and
  940.                      this is automatically done by GT,  then they will have
  941.                      unlimited time access  to  your  system,  the  default
  942.  
  943.  
  944.                                    - 16 -
  945.  
  946.  
  947.                      authorizations, and they will not be given a bullet#.
  948.  
  949.                      It  is  possible  to  add   comment   lines   to   the
  950.                      GTPASSWD.BBS  file.  Any  line with a ';' in the first
  951.                      column is a comment entry, and will be ignored by GT.
  952.  
  953.                +----------------------------------------------------------+
  954.                |                                                          |
  955.                |      Remember to give callers the MS authorization       |
  956.                |      so they can "read messages".  And setup a CLASS     |
  957.                |      entry for each different access level in use.       |
  958.                |                                                          |
  959.                +----------------------------------------------------------+
  960.  
  961.      GTBULLET.BBS    This  file  is  displayed  for the caller after he/she
  962.                      completes logon.  It is useful to leave notes here for
  963.                      expected callers.
  964.  
  965.      BULLETx.BBS     The "x" may be any character that can be a legal  part
  966.                      of   a   filename.   This  character  must  match  the
  967.                      character which is found after the level indicator  in
  968.                      the password file,  to enable custom bulletin files to
  969.                      be displayed for callers.  For example:  if a caller's
  970.                      level  was  "BZ",  then the program would search for a
  971.                      file named BULLETZ.BBS to display whenever the  caller
  972.                      logged onto the program.
  973.  
  974.               NOTE:  Custom  bulletin  files  are  OPTIONAL.  If you do not
  975.                      wish to use them, simply use single letters for access
  976.                      level indicators.
  977.  
  978.      GTMENU.BBS      This file is displayed for callers as the  main  menu.
  979.                      It  may  be suppressed by a caller by selecting X)pert
  980.                      mode.
  981.  
  982.      GTHELP.BBS      This  file  is  displayed  if the caller requests help
  983.                      from the main menu.
  984.  
  985.      GTBYE.BBS       This file is displayed for the caller when he/she logs
  986.                      off,  i.e.  selects the G)oodbye command from the main
  987.                      menu.
  988.  
  989.      GTBYEx.BBS      This is  a  custom  bye  file.  The  'x'  may  be  any
  990.                      character  that can be a legal part of a filename.  It
  991.                      comes  from  the  GTPASSWD.BBS  file,  as  the  letter
  992.                      following   the  level  indicator.   Most  commonly  a
  993.                      number.  See custom BULLETx.BBS files above.
  994.  
  995.      GTUSER.BBS      This file is created whenever a call  comes  into  the
  996.                      system.  It  will contain the access level and name of
  997.                      the current caller, or if no call is in progress,  the
  998.                      previous caller to the system.  The file contains just
  999.                      this 1 line of text.  The exact format is:
  1000.  
  1001.  
  1002.  
  1003.                                    - 17 -
  1004.  
  1005.  
  1006.      Lvl 1st-Name Last-Name auth baud ANSI-opt last-on limit event time
  1007.  
  1008.                      The line is free format with spaces delimiting fields.
  1009.                      The  "Last-Name"  field  will  consist  of  a   single
  1010.                      character,  a ';', if the caller has only 1 name.  The
  1011.                      ';' will act as a placeholder in that  case,  so  that
  1012.                      DOOR  programs will have an easier time unpacking this
  1013.                      data on the line.  The "auth" field will  contain  the
  1014.                      authorizations given this caller from the GTPASSWD.BBS
  1015.                      file when he logged onto the system.  The "baud" field
  1016.                      will  two  baud rates seperated by a ':',  for example
  1017.                      19200:2400.  The first baud rate is the DTE rate,  the
  1018.                      second  baud  rate is the DCE rate.  The split rate is
  1019.                      necessary for those using high speed  modems.  If  the
  1020.                      current  session  is  a  local  sysop logon,  then the
  1021.                      "baud" field will contain the word LOCAL, if the sysop
  1022.                      is  logged-on.   The  "ANSI-opt"  field  will  contain
  1023.                      "NOANSI" if the caller doesn't want ANSI graphics,  or
  1024.                      "ANSI" if he does want  the  graphics.  The  "last-on"
  1025.                      field  contains  the  date  the  user  last called the
  1026.                      system.  The "limit" field contains the remaining time
  1027.                      the caller has left for the current call.  The "event"
  1028.                      field contains the time remaining until the next event
  1029.                      is scheduled.  The "time" field contains  the  current
  1030.                      time in "xx:xx" format.  The time remaining fields are
  1031.                      integer showing time left in minutes.
  1032.  
  1033.                      The  purpose  of  this information is to supply needed
  1034.                      control information  to  external  programs  that  run
  1035.                      either in the Shell to DOS or DOOR environment.
  1036.  
  1037.      GTDIR.BBS       This  file  contains a list of directories that may be
  1038.                      accessed by callers.  There are two types of lines  in
  1039.                      this  file:  the  actual  directory  lines and comment
  1040.                      lines.  The comment lines are displayed to the  caller
  1041.                      when he asks to see the list of directories.  The list
  1042.                      displayed  will  contain  only  those  directories the
  1043.                      caller is authorized to access.  The formats:
  1044.  
  1045.                 Comment Lines:
  1046.                      Contain a blank in the 1st column,  the  remainder  of
  1047.                      the line is displayed for the caller.
  1048.  
  1049.                 Directory Lines:
  1050.                      Column  1  - access Level.  The minimum level required
  1051.                      to access the directory.  If this column  contains  an
  1052.                      "="  then  the  actual  line is shifted to the right 1
  1053.                      column and the "=" acts to reserve the  directory  for
  1054.                      the  indicated  access  level  - which would now be in
  1055.                      column 2. (See example.)
  1056.  
  1057.                      One or  more blank  columns follows  the level, then the
  1058.                      complete DOS name  of  the  directory,  including  all
  1059.                      drive and PATH information.  One or more blank columns
  1060.  
  1061.  
  1062.                                    - 18 -
  1063.  
  1064.  
  1065.                      follows the directory name,  then a description of the
  1066.                      directory is given.  When a caller selects the C)hange
  1067.                      directory command,  the list of choices  will  display
  1068.                      the  descriptions  you  provide  here,  so  try  to be
  1069.                      helpful.
  1070.  
  1071.                 Examples:
  1072.  
  1073.                        This is a comment.  (Since column 1 is blank)
  1074.                      A  C:\DOS\TEST The description goes here.
  1075.                      =B C:\LOTUS\DATA This is for "B" level callers only.
  1076.                      C  A:\ The description again goes here.
  1077.  
  1078.                      This example shows three directories,  one with an "A"
  1079.                      access level,  one with a "C" access level.  These are
  1080.                      the  minimum  levels  that  callers must have to "see"
  1081.                      these directories.  The "=B" directory may be accessed
  1082.                      only by callers with the "B" access level.
  1083.  
  1084.      GTDDIR.BBS      This  file controls access to the GT DOOR system.  Its
  1085.                      function  is  much  like   GTDIR.BBS   is   for   file
  1086.                      directories.  It  serves  as  a way to add security to
  1087.                      doors,  document them and  pass  parameters  to  them.
  1088.                      Each  door must have an entry in this file,  there are
  1089.                      no comment lines in this file.  Each line in this file
  1090.                      follows the this syntax:
  1091.  
  1092.            Lvl  ([comment_here_with_no_spaces])  (Prompt message here:)
  1093.  
  1094.                      The () indicate which fields are optional and need not
  1095.                      be included in the file.
  1096.  
  1097.                      As  with  the  GTDIR.BBS file,  the "Lvl" controls the
  1098.                      minimum access level required to open  the  door.  The
  1099.                      [comment]  is  optional,  but  must be enclosed within
  1100.                      [...] if it appears and no blanks are  allowed  within
  1101.                      the  comment  field.  If a parameter must be passed to
  1102.                      the DOOR,  then the  optional  prompt  field  must  be
  1103.                      added.  The  answer given to this prompt by the caller
  1104.                      will be passed to the DOOR as  command  line  argument
  1105.                      %3.
  1106.  
  1107.                      Examples:
  1108.                          B  [this-is-door-1]
  1109.                          Z  [this-is-door-2]  Enter filename:
  1110.                          S  [this-is-door-3]
  1111.  
  1112.                      In the example above, the 2nd door has a prompt listed
  1113.                      that indicates that this door requires a  filename  be
  1114.                      passed.  This could be for example to implement an ZIP
  1115.                      view  type door,  where the name of the ZIP file to be
  1116.                      processed might need  to  be  supplied.  The  caller's
  1117.                      response will be passed as command line argument %3 to
  1118.                      the GTDOOR2.BAT file in this case.
  1119.  
  1120.  
  1121.                                    - 19 -
  1122.  
  1123.  
  1124.  
  1125.                      If you are  using  the  overlaid  doors  command  line
  1126.                      option,  /V:D,  it is possible to selectively override
  1127.                      the feature and have some doors that are not overlaid.
  1128.                      This may be done by putting an '&'  character  as  the
  1129.                      first  character  of the prompt (callers won't see it,
  1130.                      don't worry).  If you have no prompt for a door,  then
  1131.                      just end the line with the '&'.  For example:
  1132.  
  1133.                          E [EDLIN_Door_#1] &Enter Filename:
  1134.                          E [EDLIN_Door_#2] &
  1135.  
  1136.                      Either  method  would  serve  to insure that this door
  1137.                      does not overlay GT when it is activated.
  1138.  
  1139.                +----------------------------------------------------------+
  1140.                |                                                          |
  1141.                |     Please note, the order of the lines in this file     |
  1142.                |     must be 1st door on 1st line, 2nd door on 2nd line,  |
  1143.                |     etc.  The lines must be in 1, 2, 3... order.         |
  1144.                |                                                          |
  1145.                +----------------------------------------------------------+
  1146.  
  1147.      GTBMENU.BBS     This file is the bulletin menu file.  It  should  list
  1148.                      the  numbered  bulletin  files.  The numbered bulletin
  1149.                      files should be located in the "Default File Section",
  1150.                      and their file names should simply be 1, 2, etc.  This
  1151.                      menu file will be displayed as users logon your system
  1152.                      and besides the numeric bulletins,  two alpha  options
  1153.                      should  be  listed:  L)ist  logon  bullets  and  Q)uit
  1154.                      bulletin menu.  An example of a GTBMENU.BBS file:
  1155.  
  1156.                               1.  Bullet #1 description here.
  1157.                               2.  Bullet #2 description here.
  1158.                               .
  1159.                               .  etc.
  1160.                               .
  1161.                               L)ist logon bullets
  1162.                               Q)uit bulletin menu.
  1163.  
  1164.                      It  is  possible that these bulletin files can contain
  1165.                      ANSI graphics.  If so, they should be named with a CBS
  1166.                      extension.  For example:
  1167.  
  1168.                            1          Bullet #1, no extension, no graphics.
  1169.                            1.CBS      Bullet  #1,   with  .CBS   extension,
  1170.                                       contains graphics.
  1171.                            2          Bullet #2, no extension, no graphics.
  1172.                            2.CBS      Bullet #2,    with  .CBS   extension,
  1173.                                       contains graphics.
  1174.  
  1175.                      Remember:  These bullet files must be placed into  the
  1176.                                 "Default File Section",  as defined under
  1177.                                 the Alt-I pathname setup.
  1178.  
  1179.  
  1180.                                    - 20 -
  1181.  
  1182.  
  1183.  
  1184.                      Starting with GT 16.00,  these bulletin files  may  be
  1185.                      nested.  When  nesting  bulletins,  we will talk about
  1186.                      bulletin numbers with a decimal point embedded within,
  1187.                      i.e. 1.0.0 or 2.1.0.  Each successive level of nesting
  1188.                      requires  another  decimal  be  added  to  the  bullet
  1189.                      number,  to a maximum of 5 levels deep.  When equating
  1190.                      the bulletin numbers to file names,  the  periods  are
  1191.                      first  eliminated,   for  example  1.0.0  would  equal
  1192.                      filename 100,  and 2.1.0  would  equal  filename  210.
  1193.                      These  files  would  be  located  in the "Default File
  1194.                      Section",  as outlined  above.  If  we  consider  this
  1195.                      situation for a bit,  we see that there must be a sub-
  1196.                      menu structure applied to these bulletins, in order to
  1197.                      get them properly nested.  For example,  we might have
  1198.                      the following in the top level file, GTBMENU.BBS:
  1199.  
  1200.                              1.0  General Bulletins
  1201.                              2.0  Game Bulletins
  1202.  
  1203.                      The  1.0  would  refer  to the file 10 in the "Default
  1204.                      File Section" and the 2.0 would refer to the  file  20
  1205.                      in  the  "Default File Section".  Each of these files,
  1206.                      10 and 20,  would be sub-menus,  which  then  actually
  1207.                      referred  to the actual bulletins.  For example,  file
  1208.                      10 might look like this:
  1209.  
  1210.                      ;BMENU
  1211.  
  1212.                              1.1  Rules of the board
  1213.                              1.2  How to get more time
  1214.                              1.3  How to get higher access
  1215.  
  1216.                      The line beginning with  ';BMENU'  must  be  the  very
  1217.                      first line of file 10,  this signals GT that this file
  1218.                      is not actually a bottom level bulletin,  but  instead
  1219.                      is  another bullet menu.  Files 11,  12 and 13 are the
  1220.                      actual  bulletin  files  (and  therefore,   would  not
  1221.                      contain the ';BMENU' entry).
  1222.  
  1223.                      Because  these  bullet  menus  can  be  nested up to 5
  1224.                      levels deep,  some new letter commands  are  available
  1225.                      for usage in navigation.  As follows:
  1226.  
  1227.                          M    Return to main bulletin menu (GTBMENU.BBS).
  1228.                          P    Pop back to the previous bullet menu.
  1229.  
  1230.      GTMDIR.BBS      This  file controls the multiple message bases that GT
  1231.                      can support.  The format of this file is the  same  as
  1232.                      the  format  for  the GTDIR.BBS file,  except that you
  1233.                      have 1 additional option for column 1, you may place a
  1234.                      '*' in column 1 of an line in this file and then  that
  1235.                      message  area  will  become  a  'by  application only'
  1236.                      message base.  The  caller  applies  for  entrance  by
  1237.  
  1238.  
  1239.                                    - 21 -
  1240.  
  1241.  
  1242.                      trying to select the message area via the A)rea change
  1243.                      command.  GT  will  inform the caller that application
  1244.                      has been accepted and  the  Sysop  must  approve.  The
  1245.                      users  name  will  be  placed into the GTMAIL.CTL file
  1246.                      associated with the message base, but the BAN bit will
  1247.                      be set,  the Sysop must use Sysop Tools to  reset  the
  1248.                      BAN bit so that the caller can be admitted.
  1249.  
  1250.                      When setting up, the Sysop should insure that all sub-
  1251.                      directories  listed  in GTMDIR.BBS exist,  but GT will
  1252.                      automatically  provide  all  the  control  files   and
  1253.                      message directories, as needed.
  1254.  
  1255.                      All  message  areas  must  have an entry in this file.
  1256.                      The main default message area  must  be  open  to  all
  1257.                      callers  and must use the same pathname as the message
  1258.                      base  pathname  in  GT's   configuration   file.   The
  1259.                      GTMDIR.BBS  file  must  be located with the other .BBS
  1260.                      files in GT's home directory.
  1261.  
  1262.            +--------------------------------------------------------------+
  1263.            |                                                              |
  1264.            |    The PATH name portion of the lines in the GTMDIR.BBS      |
  1265.            |    file may be prefixed with either '^', '~', '<' or '$'.    |
  1266.            |                                                              |
  1267.            |       ^ ... Designates a message area that can support       |
  1268.            |             public messages only.                            |
  1269.            |       ~ ... Designates a message area that is used as a      |
  1270.            |             netmail area (see netmail docs).                 |
  1271.            |       < ... Designates a message area that is Read-Only.     |
  1272.            |             Only the Sysop can enter messages.               |
  1273.            |       $ ... Designates a message area that can support       |
  1274.            |             private messages only.                           |
  1275.            |                                                              |
  1276.            +--------------------------------------------------------------+
  1277.  
  1278.                      Examples:
  1279.  
  1280.                      Z   ^C:\GTBBS\OPEN       Public Message Base
  1281.                      E    C:\GTBBS\GENERAL    General Message Base
  1282.                      F    C:\GTBBS\SPECIAL    Special Message Base
  1283.                      Z   ~C:\GTBBS\PUBLIC     Public Netmail Area
  1284.  
  1285.      GTDOORS.BBS     This file is displayed for the caller when he  selects
  1286.                      the  O)pen  DOORS  option from the main menu.  It is a
  1287.                      pure text file,  which should contain your DOOR  menu.
  1288.                      Each DOOR is assigned a number,  1-999,  and should be
  1289.                      listed on this menu by the number needed to select the
  1290.                      door.
  1291.  
  1292.                      It is possible to have sub-menus,  which work  off  of
  1293.                      the  GTDOORS.BBS menu.  If the GTDOORS.BBS file looked
  1294.                      like this:
  1295.  
  1296.  
  1297.  
  1298.                                    - 22 -
  1299.  
  1300.  
  1301.                                    Main Door Menu
  1302.                                    --------------
  1303.                                    A.  Game Doors
  1304.                                    B.  Database Doors
  1305.                                    C.  Utility Doors
  1306.  
  1307.                      Then   if  the  caller  selected  'A',   the  sub-menu
  1308.                      GTDOOR-A.BBS would shown.  Or  if  'B'  were  selected
  1309.                      then  GTDOOR-B.BBS  would  be  shown.  Then whenever a
  1310.                      numeric entry was made,  the caller would be put  into
  1311.                      the  selected  door.  A  simple  carriage return would
  1312.                      take  the  caller  back  to  the   main   door   menu,
  1313.                      GTDOORS.BBS.
  1314.  
  1315.      GTDOORnn.BAT    These are the DOOR files themselves.  These are  batch
  1316.      GTDORnnn.BAT    files,  much  like  the  Shell to DOS batch file,  but
  1317.                      instead of executing another copy of  COMMAND.COM,  it
  1318.                      executes your DOOR program.  The mechanism of the DOOR
  1319.                      is  actually the CTTY commands at the start and end of
  1320.                      the file.  The CTTY redirects the console to  the  COM
  1321.                      port  at  the start of the DOOR file,  and back to the
  1322.                      console at the end.  Sample DOOR  files  are  included
  1323.                      with the package.  Here is a short example:
  1324.  
  1325.                                     %1 com%2
  1326.                                     edlin %3
  1327.                                     %1 con
  1328.  
  1329.                      The  %1  will become "ctty" or "rem",  and the %2 will
  1330.                      become the port number,  through substitution by  DOS.
  1331.                      The  "REM" substitution is used when the DOOR is being
  1332.                      run locally by the Sysop to check it out.  A DOOR that
  1333.                      works in the local mode may  not  work  for  a  remote
  1334.                      caller,  because  the DOOR program may not use the DOS
  1335.                      functions to perform I/O with the console.
  1336.  
  1337.                      Remember  that the 3rd command line argument is passed
  1338.                      from the GT host to the DOOR containing  the  response
  1339.                      from  the  caller to a prompt you have placed into the
  1340.                      GTDDIR.BBS file.  In this case,  it would  have  asked
  1341.                      the caller which file he wanted to edit.
  1342.  
  1343.                      Please  note  the  two  forms  of  the   door   names.
  1344.                      GTDOORnn.BAT  is  used  for door numbers 1 through 99.
  1345.                      For  doors  numbered  from  100   through   999,   use
  1346.                      GTDORnnn.BAT.  For example:
  1347.  
  1348.                                Door #5 ..... GTDOOR5.BAT
  1349.                                Door #45 .... GTDOOR45.BAT
  1350.                                Door #125 ... GTDOR125.BAT
  1351.                                Door #999 ... GTDOR999.BAT
  1352.  
  1353.      ANSWERn.BBS     This file contains the answers supplied by the callers
  1354.                      to  the 'n' questionaire,  that you have stored in the
  1355.  
  1356.  
  1357.                                    - 23 -
  1358.  
  1359.  
  1360.                      QUESTn.BBS  file.  The  format  of  this  file  is  as
  1361.                      follows:  each  answer given by a user is written on a
  1362.                      separate line to this file, the answers are grouped by
  1363.                      placing the users name,  from logon,  onto  the  first
  1364.                      line  of  the  group,  enclosed  within  <<  ...   >>,
  1365.                      following this each answer appears on a separate  line
  1366.                      and  each group is terminated with a line containing a
  1367.                      single period.  Here is an example:
  1368.  
  1369.                                << Paul Meiners >>
  1370.                                9350 Country Creek #30
  1371.                                Houston, TX 77036
  1372.                                713-772-2090
  1373.                                .
  1374.                                << Susie Meiners >>
  1375.                                1245 Sunnyside Dr.
  1376.                                Houston, TX 77081
  1377.                                713-894-3465
  1378.                                .
  1379.  
  1380.                      The  example  shown  above  contains  two  groups   of
  1381.                      answers.  As  GT  accumulates answers it will continue
  1382.                      to append them to the end of this file.  If this  file
  1383.                      does  not exist,  GT will create it.  The Sysop should
  1384.                      avoid editing this file,  because any attempt to do so
  1385.                      may render GT incapable of adding answers to it.
  1386.  
  1387.      QUESTn.BBS      This  file  contains  the  questionaire for callers to
  1388.                      fill out.  This feature is optional.  The file  is  in
  1389.                      template  format,  using  the  [------]  construct  to
  1390.                      indicate where GT should gather answers to  questions.
  1391.                      For example:
  1392.  
  1393.                                                   [------------]
  1394.                                Enter Phone Number:
  1395.  
  1396.                      Would  direct GT to collect the phone number,  showing
  1397.                      GT where to collect the answer and the  maximum  width
  1398.                      answer  to  accept.  Each  answer  can  be  up  to  80
  1399.                      characters long and there may be up  to  50  questions
  1400.                      per questionaire.
  1401.  
  1402.                      After  having filled out the questionaire,  the caller
  1403.                      will be asked if he wishes his answers to be recorded.
  1404.                      If he indicates in the negative,  GT will discard  the
  1405.                      answers.
  1406.  
  1407.                      The questionaire is optional, and if the user tries to
  1408.                      fill out a questionaire that cannot be found,  GT will
  1409.                      indicate to the caller that there is  no  questionaire
  1410.                      currently available.
  1411.  
  1412.                      Date/time   stamping  can  be  done  automatically  by
  1413.                      including a special code in  the  questionnaire  file.
  1414.  
  1415.  
  1416.                                    - 24 -
  1417.  
  1418.  
  1419.                      For example:
  1420.  
  1421.                           [%DT]
  1422.  
  1423.                      Would  cause  the current date and time to be recorded
  1424.                      in the answer file (no question would be asked  here),
  1425.                      of  course  the  balance of the questionnaire would be
  1426.                      processed in a normal manner.
  1427.  
  1428.                      There can be up to 99 different questionnaires for the
  1429.                      caller  to  choose  from.   The  GTQMENU.BBS  file  is
  1430.                      displayed with a list of all available questionnaires.
  1431.  
  1432.      PQUESTn.BBS     This  file  is  displayed  for  the caller immediately
  1433.                      after he selects the  questionaire  he/she  wishes  to
  1434.                      complete  from  the  questionnaire  menu.   It  should
  1435.                      explain  to  the  caller  the  basic  purpose  of  the
  1436.                      questionaire and allow him to consider if he wishes to
  1437.                      continue  to  fill  out the questionaire.  Immediately
  1438.                      after this file is displayed,  the caller will receive
  1439.                      a prompt, asking if he wishes to continue and fill out
  1440.                      the questionaire.
  1441.  
  1442.                      The PQUESTn.BBS file is optional.
  1443.  
  1444.      GTQMENU.BBS     This file is listed for the caller when he selects the
  1445.                      Q  option  from the main menu.  It is a menu file that
  1446.                      should contain a list (in text format) for the user to
  1447.                      choose which questionnaire he wishes to complete.  For
  1448.                      example:
  1449.  
  1450.                          1.  Order form for GT POWER.
  1451.                          2.  Order form for Turbo CALC.
  1452.                          3.  User poll.
  1453.  
  1454.                      This  shows  only  three  options,   as  many  as   99
  1455.                      questionnaires may be supported by the system.
  1456.  
  1457.      PROTOCOL.BBS    This  file  contains  the  protocol  menu that will be
  1458.                      displayed for  the  caller  if  he  initiates  a  file
  1459.                      transfer.  It  is  provided  so  that  the  Sysop  can
  1460.                      customize this menu to his own taste.  It is pure text
  1461.                      format, except for the first line,  which contains the
  1462.                      list of protocols the Sysop wishes to activate for his
  1463.                      system.  The  format  of  this  activation  line is as
  1464.                      follows:
  1465.  
  1466.                                   ;XYZB1TWKMSG
  1467.  
  1468.                      Where the ";" appears in column 1 of  the  line.  Each
  1469.                      letter activates a specific protocol, as follows:
  1470.  
  1471.                                X ... Xmodem
  1472.                                Y ... Ymodem
  1473.  
  1474.  
  1475.                                    - 25 -
  1476.  
  1477.  
  1478.                                Z ... Zmodem
  1479.                                B ... Ymodem Batch
  1480.                                1 ... 1k Telink
  1481.                                T ... Telink
  1482.                                W ... WXmodem
  1483.                                K ... Kermit
  1484.                                M ... MegaLink
  1485.                                S ... SEAlink
  1486.                                G ... Ymodem-G
  1487.  
  1488.                      By omitting the activation letter from this line,  the
  1489.                      Sysop may  disable  the  corresponding  protocol.  For
  1490.                      example:
  1491.  
  1492.                                       ;XYZT
  1493.  
  1494.                      Would activate and allow on the Xmodem, Ymodem, Zmodem
  1495.                      and  Telink  protocols.  The other protocols would not
  1496.                      be allowed.
  1497.  
  1498.                      The PROTOCOL.BBS file is optional,  if omitted GT will
  1499.                      display a canned protocol menu.
  1500.  
  1501.      WELCOME.BBS     Each  message  base  may  have  a  welcome screen.  It
  1502.                      present,  it resides in the directory with the message
  1503.                      CTL files and is displayed for the caller as he enters
  1504.                      the message base.  It is in the nature of a conference
  1505.                      welcome screen.  The WELCOME.BBS file is optional.
  1506.  
  1507.      MBULLETx.BBS    Each  message  base may have bulletins associated with
  1508.                      it.  These bulletin files will reside in the directory
  1509.                      with the message .CTL files and will be displayed  for
  1510.                      the   caller  after  the  WELCOME.BBS  file  has  been
  1511.                      displayed.  The bulletin numbers are coordinated  with
  1512.                      the regular bulletin numbers in the main GT directory,
  1513.                      which come from the bulletin numbers on the entries in
  1514.                      the GTPASSWD.BBS file.
  1515.  
  1516.                      The MBULLETx.BBS files are optional.
  1517.  
  1518.      SYSOP.BBS       The SYSOP.BBS file contains almost all of the  prompts
  1519.                      and  short  menus  used by the host mode.  They may be
  1520.                      customized to suite the sysop's taste.  But there is a
  1521.                      danger in changing the file too greatly,  the  overall
  1522.                      length  of  each  entry should not be greatly changed,
  1523.                      and each entry is limited  to  1  line.  In  addition,
  1524.                      when  new  releases  are made,  it may be difficult to
  1525.                      transfer the custom changes to the new file.
  1526.  
  1527.                      There are some special lines in  the  SYSOP.BBS  file.
  1528.                      The  1st line of the file is the welcome to chat mode,
  1529.                      it should be customized to let  the  caller  know  who
  1530.                      they  are  chatting  with.  The  3rd  line of the file
  1531.                      should have the name of the  sysop  replace  the  word
  1532.  
  1533.  
  1534.                                    - 26 -
  1535.  
  1536.  
  1537.                      'Sysop'.  This  will  allow  GT to personalize message
  1538.                      left to the sysop.  On line 158, the minimum length of
  1539.                      passwords required by the host mode  is  configurable.
  1540.                      The  minimum length may be set anywhere from 0 through
  1541.                      9 characters.  This is accomplished by  changing  line
  1542.                      158 in SYSOP.BBS to reflect the desired width.  For
  1543.                      example:
  1544.  
  1545.                  "Password is too short[!]  Must be [6] - [20] characters."
  1546.  
  1547.                      GT  scans this line looking for the very first number.
  1548.                      In this case,  GT would find the number  6,  and  that
  1549.                      would become the minimum length for passwords.
  1550.  
  1551.                      Near the end of the SYSOP.BBS file  are  more  special
  1552.                      lines.   First,   the   <Alt -_>   and  <Alt =+>  time
  1553.                      increment can be customized.  If a caller  is  online,
  1554.                      the  sysop  can  increment  his  time limit by a small
  1555.                      amount, use <Alt -_> to decrease the available time or
  1556.                      <Alt =+> to increase the available  time.  The  amount
  1557.                      of  the  increment  is shown on a line near the end of
  1558.                      the SYSOP.BBS file that begins like this:
  1559.  
  1560.                           "\n\n3 min. increment
  1561.  
  1562.                      The number following the "\n\n" is the amount  of  the
  1563.                      change.  It can be any number from 1 to 9 minutes.
  1564.  
  1565.                      A little farther down in the SYSOP.BBS file is a line
  1566.                      that looks like this:
  1567.  
  1568.                           ".ZIP .LZH .ARC"
  1569.  
  1570.                      This line contains the  default  extensions  that  are
  1571.                      used  to  satisfy  download  requests.  Each extension
  1572.                      must be separated from the  one  before  by  a  single
  1573.                      space,  and  each  extension  must  begin  with  a '.'
  1574.                      character.  This line can be changed or added  to,  if
  1575.                      need  be,  but there should probably be no more than 5
  1576.                      defaults  listed,  otherwise  system  performance  may
  1577.                      degrade.
  1578.  
  1579.                      Even closer to the end of the SYSOP.BBS file are two
  1580.                      lines that look like this:
  1581.  
  1582.                           "MENU="
  1583.                           "MMENU="
  1584.  
  1585.                      These lines may be modified to add items to the  menus
  1586.                      used  in  the GT host mode.  The MENU= line is used to
  1587.                      add items to the main menu and MMENU= is used  to  add
  1588.                      items  to  the  message menu.  Each item that is added
  1589.                      must have a two  character  invokation  sequence.  For
  1590.                      example:
  1591.  
  1592.  
  1593.                                    - 27 -
  1594.  
  1595.  
  1596.  
  1597.                           "MENU=[ZV]viewzip;Q;Enter filename:"
  1598.  
  1599.                      'ZV' is the command selection character (i.e. what the
  1600.                      caller will need to enter to  execute  this  command).
  1601.                      'viewzip'  is  the name of the batch file that will be
  1602.                      executed.   The  'Q'  is  the  minimum  access   level
  1603.                      required  before a caller can select this menu option,
  1604.                      and the 'Enter filename:' is a prompt  for  data  that
  1605.                      will be passed to the batch file.  The prompt for data
  1606.                      may  be  prefixed  with  a  '&',  as  with  entries in
  1607.                      GTDDIR.BBS,   to  selectively  override  the   overlay
  1608.                      process (command line option /V:D).  For example:
  1609.  
  1610.                      "MENU=[ZV]viewzip;Q;&Enter filename:;[MR]modread;Z;&"
  1611.  
  1612.                      The access level and prompt for data are optional, but
  1613.                      they  may  not be skipped over.  That is,  if you have
  1614.                      specified a prompt for data,  you must  also  have  an
  1615.                      access level specified.
  1616.  
  1617.                      In the example above,  showing [MR] for the batch file
  1618.                      'modread',  the '&' is shown without  any  prompt.  In
  1619.                      this case,  there would be no prompt for data, and the
  1620.                      command would not overlay GT.
  1621.  
  1622.                      Several commands can be  added  in  the  manner  shown
  1623.                      above  to each of these two lines in SYSOP.BBS,  MENU=
  1624.                      and MMENU=, but one must be carefull not to extend the
  1625.                      lines past 255 characters in length.
  1626.  
  1627.                      The interface to the  batch  files  invoked  by  these
  1628.                      items  is  similar  to  the command interface for door
  1629.                      batch file.  As follows:
  1630.  
  1631.                          Param     Description
  1632.                          -----     -----------
  1633.                            1       The CTTY or REM indicator.
  1634.                            2       The COM port number.
  1635.                            3       The prompted for data.
  1636.  
  1637.                      The last param, #3, is optional, of course.  And,  for
  1638.                      items  on  the MMENU= list,  GT automatically adds the
  1639.                      following four parameters:
  1640.  
  1641.                            4       -Ppathname, where 'pathname' is the path
  1642.                                    to the currently active message base.
  1643.                            5       The message number previously read by
  1644.                                    the caller.
  1645.                            6       Access control switch block, where a
  1646.                                    0=false and 1=true:
  1647.                                        a. Netmail message area.
  1648.                                        b. Public message area.
  1649.                                        c. Private message area.
  1650.  
  1651.  
  1652.                                    - 28 -
  1653.  
  1654.  
  1655.                                        d. Read-only message area.
  1656.                            7       Netmail credits available to this
  1657.                                    caller.
  1658.  
  1659.                      For example:
  1660.  
  1661.                         medit CTTY 1 foobar -PC:\GT\MSGB1 103 0100 200
  1662.  
  1663.                      Where:
  1664.  
  1665.                         medit ......... The name of the batch file from the
  1666.                                            MMENU= line in SYSOP.BBS
  1667.                         CTTY .......... The caller is coming in remote
  1668.                         1 ............. on COM port #1.
  1669.                         foobar ........ Data given by caller in response to
  1670.                                            the prompt (optional).
  1671.                         -PC:\GT\MSGB1 . The currently active message base.
  1672.                         103 ........... The previous message read by caller.
  1673.                         0100 .......... Access control switch block:
  1674.                                           0: Not netmail area.
  1675.                                           1: Public messages only.
  1676.                                           0: Not for private messages only.
  1677.                                           0: Not a read-only message base.
  1678.                         200 ........... This caller has 200 netmail credits.
  1679.  
  1680.      SCHEDULE.BBS    The "scheduler" is code within the GT host mode  which
  1681.                      allows  the  sysop  to schedule events.  The format of
  1682.                      the SCHEDULE.BBS file is  very  simple.  The  file  is
  1683.                      composed  of  lines that begin with a time or range of
  1684.                      times,   then  the  command  to  be  executed  at  the
  1685.                      specified  time.  The  entries  in  this  file for the
  1686.                      schedule *must* be in strict ascending numeric  order.
  1687.                      Notice   the   entry   below  for  '24:50',   in  GT's
  1688.                      terminology this is 50 minutes past  midnight.  To  GT
  1689.                      there  is  no 0 hour.  The hour between midnight and 1
  1690.                      a.m.  is the 24th hour,  and *MUST* be  shown  at  the
  1691.                      bottom  of  the schedule - remember,  strict ascending
  1692.                      numerical sequence.
  1693.  
  1694.                      Examples:
  1695.  
  1696.                      03:00       copy file1 file2
  1697.                      03:30       QUIT 5
  1698.                      04:00-05:00 QUIT 6
  1699.                      06:00       maint
  1700.                      24:50       QUIT 8
  1701.  
  1702.                      Based on the above example, at 3 a.m. the GT host will
  1703.                      copy file1 to file2 (any DOS command can  be  executed
  1704.                      like  this).  Then at 3:30 a.m.  the GT host will quit
  1705.                      execution and set an ERRORLEVEL of  5,  the  runstream
  1706.                      that  is  controlling GT must be prepared to deal with
  1707.                      this ERRORLEVEL,  else nothing will be done.  Also the
  1708.                      user  must  insure  that the GT host is restarted.  At
  1709.  
  1710.  
  1711.                                    - 29 -
  1712.  
  1713.  
  1714.                      any time between 4 a.m.  and 5 a.m.  the GT host  will
  1715.                      quit  execution  and an ERRORLEVEL of 6 -- this one is
  1716.                      meant to illustrate a quit to  the  netmail  function,
  1717.                      which  should always be started with a range of times,
  1718.                      so that in case it cannot start exactly on the  button
  1719.                      of  4  a.m.  the GT host will start it,  even if it is
  1720.                      late   starting.   Again   the   runstream   that   is
  1721.                      controlling  GT  must  be  prepared  to  deal with the
  1722.                      indicated ERRORLEVEL, 6 in this case, and must restart
  1723.                      the GT host *after* 5 a.m.  Then at 6 a.m. the GT host
  1724.                      will execute the 'maint' batch file.  NOTE:  when  the
  1725.                      GT host starts a command like this, it is done via the
  1726.                      SHELL  mechanism,  this requires alot of memory and it
  1727.                      is not recommended  if  you  are  using  multi-tasking
  1728.                      software.
  1729.  
  1730.                      A  sysop  may  also  add  a  special   line   to   the
  1731.                      SCHEDULE.BBS  file  which  will  allow  control of the
  1732.                      P)age function from the main menu.  The OFFICE command
  1733.                      allows the sysop to  specify  when  a  P)age  will  be
  1734.                      acceptable.  If  a  P)age  is attempted outside of the
  1735.                      specified time range, then the caller will be notified
  1736.                      about the sysop's OFFICE HOURS.
  1737.  
  1738.                      Here is the format:  OFFICE=08:00-21:00
  1739.  
  1740.                      The hours must be given in 24:00 notation,  and please
  1741.                      notice that leading zeros, must be supplied.  08:00 is
  1742.                      correct,  8:00  is  wrong!   No  embedded  spaces  are
  1743.                      allowed in this format.  It must be as shown above.
  1744.  
  1745.                +----------------------------------------------------------+
  1746.                |                                                          |
  1747.                |                          NOTE                            |
  1748.                |                                                          |
  1749.                |    Five minutes prior to a external event, GT POWER      |
  1750.                |    will cease accepting calls and wait for the event     |
  1751.                |    start time.  Callers who call in the vicinity of      |
  1752.                |    an event will have their time on the system cutback   |
  1753.                |    so that the caller will be off the system before      |
  1754.                |    the event is to start.                                |
  1755.                |                                                          |
  1756.                |                                                          |
  1757.                +----------------------------------------------------------+
  1758.  
  1759.      TRASHCAN.BBS    This file will test your creativity  <GRIN>.  All  the
  1760.                      dirty words go in here,  and then anyone, who uses one
  1761.                      of them in their name,  will not be allowed  to  enter
  1762.                      your system.  The words in the TRASHCAN.BBS must be in
  1763.                      _lowercase_,  otherwise  they  won't be recognized.  A
  1764.                      special wildcard character can  be  used  in  TRASHCAN
  1765.                      words,  the  '?'  character can be used to match *any*
  1766.                      character other than a blank.  The blank is treated as
  1767.                      a delimiter between first and  last  names,  and  each
  1768.  
  1769.  
  1770.                                    - 30 -
  1771.  
  1772.  
  1773.                      name  is  checked  against  the trashcan individually.
  1774.                      The check is only performed on  new  callers  to  your
  1775.                      system, so it doesn't slow the regular logon.  And use
  1776.                      of  the  trashcan is optional.  Just leave it out,  if
  1777.                      you don't want to  use  it.  An  example  TRASHCAN.BBS
  1778.                      file:
  1779.  
  1780.                                       d?mn
  1781.                                       h?ll
  1782.                                       scr?w
  1783.                                       f?ck
  1784.                                       sh?t
  1785.  
  1786.      FILES.BBS       When  you create a directory to contain files,  either
  1787.                      for upload or download,  you should include within the
  1788.                      directory  a  file named FILES.BBS.  It should contain
  1789.                      the descriptions of the  files  contained  within  the
  1790.                      directory.  When  the  caller  selects  the "F" option
  1791.                      from the main menu,  the content of this file will  be
  1792.                      displayed.
  1793.  
  1794.                      The  FILES.BBS  that  is  located  in  the appropriate
  1795.                      upload directory will be  updated  automatically  with
  1796.                      information supplied by the uploader as follows:
  1797.  
  1798.                      Position     Description
  1799.                      --------     -----------
  1800.                      1-12         Filename
  1801.                      13           Blank
  1802.                      14-21        File size in bytes
  1803.                      22-23        Blank
  1804.                      24-31        File upload date
  1805.                      32-33        Blank
  1806.                      34-41        File creation date
  1807.                      42           Offline indicator: '*' means offline
  1808.                      43           Blank
  1809.                      44-78        Caller who uploaded the file.
  1810.  
  1811.                      Following this header line will come up to 10 lines of
  1812.                      description.  Each line of description will begin with
  1813.                      a '|' as the first non-blank character (i.e. not equal
  1814.                      to  0x20).  The  format  of  the  description  may  be
  1815.                      changed by the sysop from the default used by GT,  the
  1816.                      only rule is that the first non-blank (i.e.  not equal
  1817.                      to 0x20) must be the '|',  otherwise GT will treat the
  1818.                      line as a header or a comment.
  1819.  
  1820.                      A header is  a  line  that  begins  with  a  non-blank
  1821.                      character,   i.e.   not  equal  to  0x20  (except  for
  1822.                      description lines, detailed above).  A comment line is
  1823.                      any other line that begins with a blank (0x20).
  1824.  
  1825.                      NOTE: 0x20 means the character is hex 20.  A blank.  A
  1826.                            character whose decimal ASCII value is 32.
  1827.  
  1828.  
  1829.                                    - 31 -
  1830.  
  1831.  
  1832.      Host Mode Control Files and Directories
  1833.      ---------------------------------------
  1834.      During  the  operation  of  the  GT  host  mode,   several  files  and
  1835.      directories will be created automatically.  The  Sysop  Tools  program
  1836.      must  be used to maintain these files,  when the need arises.  Here is
  1837.      an overview of the purpose of these files:
  1838.  
  1839.      MESSAGE.CTL     This  file  contains  the  header  information for all
  1840.                      messages maintained by the GT host.  Such  information
  1841.                      as  sender  name,  addressee  name,  date of entry and
  1842.                      whether or not the message has been received, are kept
  1843.                      here.
  1844.  
  1845.      USER_MSG.CTL    This file  contains  information  about  the  messages
  1846.                      which  have  been read by each caller who has joined a
  1847.                      message base.
  1848.  
  1849.      USER_MSG.IDX    The index  file  for  the  USER_MSG.CTL  file.  Speeds
  1850.                      access to individual caller records.
  1851.  
  1852.      USER.CTL        This file contains information about  the  callers  to
  1853.                      your  GT  host.  Such  as  their name,  where they are
  1854.                      calling from and their personal passwords and access
  1855.                      level.
  1856.  
  1857.      USER.IDX        The index file for the USER.CTL  file.  Speeds  access
  1858.                      to individual caller records.
  1859.  
  1860.      FILES.CTL       This file contains information about all the files  on
  1861.                      the  system  that  are  available for download.  It is
  1862.                      built by the FILES_DB.EXE program  (and  the  FILES_DB
  1863.                      must be run to build a new FILES.CTL whenever you move
  1864.                      files around on the system.  The presence of this file
  1865.                      enables  the  universal  download feature and helps to
  1866.                      eliminate duplicate uploads (that is,  GT will  lookup
  1867.                      filenames in this database prior to allowing an upload
  1868.                      from  a  caller  -  if you already have the file,  the
  1869.                      upload will not be allowed to continue).
  1870.  
  1871.      FILES.IDX       The index file for the FILES.CTL file.  Speeds  access
  1872.                      to  individual  file  records.  Even on very large BBS
  1873.                      systems,  access to the files database is accomplished
  1874.                      in less than a second or two.
  1875.  
  1876.      GTMSGS          This is a sub-directory where the text of the messages
  1877.                      is  stored.  Each  message  is  stored  without header
  1878.                      information,  which is stored in the MESSAGE.CTL file.
  1879.                      The messages are stored in files with an extension  of
  1880.                      .MES.  Each .MES file contains 10 messages  within  it.
  1881.                      As follows:
  1882.  
  1883.                          00001.MES   Contains messages  #1 through #10
  1884.                          00002.MES   Contains messages #11 through #20
  1885.                          ...etc...
  1886.  
  1887.  
  1888.                                    - 32 -
  1889.  
  1890.  
  1891.  
  1892.                      The  messages  are  stored in plain ASCII text format.
  1893.                      Each  message  begins  with  a  'start   of   message'
  1894.                      indicator with the following format:
  1895.  
  1896.                          Col 1 = Ctrl-X
  1897.                            2-4 = 'SOM'
  1898.                              5 = '0' through '9', depending of the relative
  1899.                                  position of the message within the file.
  1900.  
  1901.                      Within  00001.MES,  message  #2 would have a header of
  1902.                      ^XSOM1,  where  ^X  is  the  symbol  for  Ctrl-X.   In
  1903.                      00002.MES,  messages #12 would have a header of ^XSOM1
  1904.                      --- the same as message #2 in 00001.MES.  This  scheme
  1905.                      allows  for  the possibility of a "rapid" renumbering.
  1906.                      That is,  the internal numbers in the header lines are
  1907.                      relative,  not absolute.  Changing the name of the MES
  1908.                      file, i.e.  from 00002.MES to 00001.MES, automatically
  1909.                      would renumber the messages contained within.
  1910.  
  1911.      Except for the files database (FILES.CTL and .IDX) these files will be
  1912.      created  as  necessary  by  the  GT  host.  The program SYSOP.EXE will
  1913.      perform needed maintenance of these files: for example renumbering the
  1914.      messages,  deleting obsolete users,  providing reports  and  listings.
  1915.      HOWEVER, do not run SYSOP.EXE prior to establishing these files.
  1916.  
  1917.      For  batch  usage,  DELREN.EXE  is  provided  to  delete  and renumber
  1918.      messages - the command syntax for DELREN can be obtained by  executing
  1919.      the program with any parameters.
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929.  
  1930.  
  1931.  
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.                                    - 33 -
  1948.  
  1949.  
  1950.      Running Host Mode
  1951.      -----------------
  1952.      Once installed,  host mode is fairly self-explanatory,  but here is  a
  1953.      quick once over.
  1954.  
  1955.      Host mode is started by pressing "ALT -".  GT will automatically enter
  1956.      "Half  duplex"  mode.  This  is  so  that  anything  typed on the host
  1957.      console will echo so that it can be seen.  Then GT will send the  host
  1958.      mode  Modem Init String to the modem and wait for a call.  While GT is
  1959.      waiting for a call, there are 4 commands available:  [Esc], which will
  1960.      terminate host mode,  carriage return, which allows the Sysop to logon
  1961.      to GT's host mode from the local console, [Ctrl-L], which turns on the
  1962.      system printer for logging,  and [Ctrl-S] to load a fresh copy of  the
  1963.      schedule from disk.  Note that you must have logging enabled in the GT
  1964.      configuration,  via  Alt-I,  the  [Ctrl-L]  command merely enables the
  1965.      printer,  so that whatever is logged will also appear  on  the  system
  1966.      printer.  There  also  is  a  command  line  option to turn on the log
  1967.      printer.  If you place "/p" on the GT command line,  the  printing  of
  1968.      the  log  will  automatically  be turned on from the very start of the
  1969.      program.
  1970.  
  1971.      Once GT has answered an incoming  call,  there  are  several  commands
  1972.      available to the operator, as follows:
  1973.  
  1974.      +--------------------------------------------------------------------+
  1975.      |                                                                    |
  1976.      |                          SYSOP COMMANDS                            |
  1977.      |                                                                    |
  1978.      |      Alt-H      List available sysop commands.                     |
  1979.      |                                                                    |
  1980.      |      Ctrl-D     List current schedule on the screen.               |
  1981.      |      Ctrl-L     Toggle log printer on/off.                         |
  1982.      |      Ctrl-N     Raise caller's access level while on-line.         |
  1983.      |      Ctrl-P     Sysop initiated chat mode.                         |
  1984.      |      Ctrl-R     Reset time limit, gives caller more time.          |
  1985.      |      Ctrl-S     Load new schedule from disk.                       |
  1986.      |      Ctrl-T     Terminate after current caller disconnects.        |
  1987.      |      Ctrl-X     Abort the caller.                                  |
  1988.      |      Ctrl-Z     Terminate chat mode.                               |
  1989.      |      Alt -_     Decrement the time available to caller.            |
  1990.      |      Alt =+     Increment the time available to caller.            |
  1991.      |                                                                    |
  1992.      +--------------------------------------------------------------------+
  1993.  
  1994.  
  1995.      Command Line Usage
  1996.      ------------------
  1997.      When  you  start GT,  there are several command line switches that are
  1998.      available to you:
  1999.  
  2000.  
  2001.      name      You may indicate a script file to be executed upon  start-up
  2002.                of GT.
  2003.  
  2004.  
  2005.  
  2006.                                    - 34 -
  2007.  
  2008.  
  2009.      /D        You may indicate whether or not you wish to have GT drop the
  2010.                DTR signal to the modem when GT exits back to DOS.
  2011.  
  2012.      /C        You  may indicate whether you are connected via cable to the
  2013.                host computer.
  2014.  
  2015.      /F        This gives GT a "frontend" type interface.  If you run a
  2016.                "frontend" program like Binkley, you can use this command line option
  2017.                with GT.  The /F takes two sub-params, like this:
  2018.  
  2019.                    /F:nnnnn:m
  2020.  
  2021.                Where:
  2022.  
  2023.                    nnnnn ...... The DCE baud rate.
  2024.                    m .......... The COM port number.
  2025.  
  2026.                For example:
  2027.  
  2028.                    /F:2400:1
  2029.  
  2030.                    2400 baud on COM port #1.
  2031.  
  2032.                When  the caller logs off the system (or drops carrier),  GT
  2033.                will execute an exit to DOS with an ERRORLEVEL 254  or  255.
  2034.                You   should   insure   that  the  batch  file  traps  these
  2035.                ERRORLEVELs and returns control to the  "frontend"  program.
  2036.                See documentation that comes with the "frontend" program for
  2037.                further details.
  2038.  
  2039.      /K        You may initiate the capture mode from the very start of the
  2040.                program.
  2041.  
  2042.      /M        Suppress the "Check for personal mail?" function.
  2043.  
  2044.      /MN       This would allow the "Check for personal mail?" function to
  2045.                continue, *but* would change the default prompt from [Y/n]
  2046.                to [y/N].
  2047.  
  2048.      /P        You may enable logging to the system printer.
  2049.  
  2050.      /S        This option will allow the Sysop Page to be heard during
  2051.                quiet mode.  Normally, nothing would be heard during quiet
  2052.                mode.
  2053.  
  2054.      /Tn       This option will override the normal keyboard timeout value
  2055.                of 10 minutes.  When this timeout occurs, GT will disconnect
  2056.                the caller.  For example:
  2057.  
  2058.                    /T5     Lower the timeout to 5 minutes.
  2059.                    /T45    Raise the timeout to 45 minutes (my favorite).
  2060.  
  2061.      /1        You may configure the port addresses in use by  your  serial
  2062.                port.  The  actual  port  number to be configured,  1-4,  is
  2063.  
  2064.  
  2065.                                    - 35 -
  2066.  
  2067.  
  2068.                placed  after  the  slash.  The  new  base  address  of  the
  2069.                indicated  port  is  placed  after  the slash number with an
  2070.                intervening blank.  The address must be given with a leading
  2071.                $ sign and be in hex notation,  for example $3F1 would be  a
  2072.                valid address.  Refer to your hardware documentation for the
  2073.                correct  address  to use.  GT uses standard addresses if you
  2074.                do not override with this option.
  2075.  
  2076.                GT  allows  you  to also configure the IRQ used.  To specify
  2077.                the IRQ,  simply follow the port address with a ':n',  where
  2078.                the  'n'  is the new IRQ to be used.  The IRQ must be in the
  2079.                range '0' to '7'.  Be sure that the IRQ is not being used by
  2080.                any other device!
  2081.  
  2082.      /Rn       This option applies to the GT host mode.  It  specifies  the
  2083.                ring  number  upon which GT will answer incoming calls.  For
  2084.                example /R3 would cause GT to answer on the 3rd ring.  NOTE:
  2085.                that the host mode modem init string must  contain  S0=0  to
  2086.                allow this to work properly.
  2087.  
  2088.      /RBmm:nn  This  option applies to the GT host mode.  It specifies that
  2089.                GT should answer the modem after a "ring  back".  To  enable
  2090.                this to work properly,  the host mode modem init string must
  2091.                contain S0=0.  Once installed properly this option makes the
  2092.                GT host mode answer the phone on the 2nd or 3rd ring after a
  2093.                gap of between 'mm' and 'nn' seconds.  If  the  gap  between
  2094.                rings  is  less  than  'mm'  seconds  or  greater  than 'nn'
  2095.                seconds,  GT will not answer the phone.  This allows the use
  2096.                of  an  answering  machine  on  the  same  phone line as the
  2097.                computer.  The answering machine  should  be  programmed  to
  2098.                answer on a later ring, the 4th for example.  The 'mm:nn' is
  2099.                optional, and will default to a 9 to 32 second gap.
  2100.  
  2101.      /V:s      This option will cause selected funstions to overlay GT when
  2102.                they are executed.  The 's' parameter represents the list of
  2103.                functions that are to be  overlaid.  For  example,  's'  may
  2104.                contains  the following letters,  representing the functions
  2105.                shown:
  2106.                          E .... External protocols.
  2107.                          D .... Door batch files.
  2108.                          L .... Logon/Logoff batch files.
  2109.  
  2110.                If GT is overlaid  by  a  function,  then  when  the  caller
  2111.                disconnects,  GT  will  exit  to DOS with an 'errorlevel' of
  2112.                255.  So,  the HOST.BAT file must be built to trap  the  255
  2113.                'errorlevel':
  2114.  
  2115.                       HOST.BAT File
  2116.                       -------------
  2117.                          GT1600 /V:DL host.scr
  2118.                          IF errorlevel 255 HOST
  2119.  
  2120.                       HOST.SCR File
  2121.                       -------------
  2122.  
  2123.  
  2124.                                    - 36 -
  2125.  
  2126.  
  2127.                          host
  2128.  
  2129.      +------------------------------------------------------------------+
  2130.      |                                                                  |
  2131.      |   This listing of command line switches came from the main GT    |
  2132.      |   documentation file.  Please refer to that document for sample  |
  2133.      |   usage of these switches.                                       |
  2134.      |                                                                  |
  2135.      +------------------------------------------------------------------+
  2136.  
  2137.      Using a LAN with GT
  2138.      -------------------
  2139.      Running  a  multi-node  BBS  with  GT is easy.  GT will allow up to 32
  2140.      nodes on a network to share common message bases and file  areas.  The
  2141.      first thing you must do is decide on a structure for your network BBS.
  2142.      One  of  the systems must be identified as the 'server' and it will be
  2143.      referred to as "PID Zero" in the following description  (however,  you
  2144.      can  easily  have  multiple  servers).  The  LAN  Path must point to a
  2145.      location on the server where all the caller records  are  stored,  and
  2146.      where  the "PID_FILE.BBS" is maintained.  Once you have decided on the
  2147.      structure of the network, you must install GT on each node --- part of
  2148.      the installation process for GT on a  LAN  node  is  setting  the  LAN
  2149.      parameters under the Alt-I configuration.  Three pieces of information
  2150.      must be provided for each node:
  2151.  
  2152.  
  2153.          PID Number ... Must be a unique number between 0 and 31.
  2154.  
  2155.          PID Name ..... The name by which this node is known to the network
  2156.                         software.
  2157.  
  2158.          LAN Path ..... This  must  be  the  home  directory  for GT on the
  2159.                         network server.  The  LAN  Path  will  contain  the
  2160.                         USER.CTL, USER.IDX and PID_FILE.BBS (at the least).
  2161.                         These  are  created  automatically.  It  is assumed
  2162.                         that these files will be  shared  among  the  other
  2163.                         systems on the LAN.
  2164.  
  2165.  
  2166.      The  LAN  Path must be specified to get file and message sharing fully
  2167.      enabled.  Without a LAN  Path,  GT  will  assume  that  a  non-sharing
  2168.      environment is established (like a regular single node BBS).
  2169.  
  2170.      File sharing is implemented using the record locking facilities of DOS
  2171.      3.1+ SHARE.EXE.  It is recommended that you give this program adequate
  2172.      facilities  to do its job.  This command line seems to work well,  but
  2173.      more resources may need to be allocated on busy systems:
  2174.  
  2175.                                SHARE /F:7168 /L:70
  2176.  
  2177.      It should also be  noted,  that  some  LANs  require  your  CONFIG.SYS
  2178.      parameters  to  be changed.  For example FCBS may need to be specified
  2179.      on LAN servers, for example:
  2180.  
  2181.  
  2182.  
  2183.                                    - 37 -
  2184.  
  2185.  
  2186.                                    FCBS=24,12
  2187.  
  2188.      And  STACKS  are  very  important  under a LAN enviroment.  If you are
  2189.      using DOS 3.2,  I would recommend switching to DOS 3.3.  With DOS 3.3,
  2190.      I would recommend:
  2191.  
  2192.                                   STACKS=62,512
  2193.  
  2194.      DOS 3.2 has some bugs that do not make it a good choice for the DOS on
  2195.      the  LAN  server.  It has also been observed that BUFFERS are critical
  2196.      on a LAN.  Setting BUFFERS above 40 is a sure formula for a  crash.  I
  2197.      recommend:
  2198.  
  2199.                                    BUFFERS=35
  2200.  
  2201.      If this response of the server becomes to slow, due to the low setting
  2202.      of BUFFERS,  rather than raising the BUFFERS, I would suggest that you
  2203.      obtain a LAN compatible disk cache program.  Ask your LAN manufacturer
  2204.      to recommend one to you.
  2205.  
  2206.      Finally,  resist the temptation to overload the directory indicated as
  2207.      the  "LAN  Path".  For example,  do not have the workstations use that
  2208.      directory for  the  log  files.  This  would  result  in  chaos.  Each
  2209.      workstation must have its own GTPATH and LOG Path.
  2210.  
  2211.      Often  times  it is extremely handy to have a common pathname to reach
  2212.      directories on the network.  For this reason, the DOS SUBST command is
  2213.      very useful.  With it, you can assign a common pathname to shared disk
  2214.      space on servers.  For example:
  2215.  
  2216.                                    SUBST e: c:\
  2217.  
  2218.      Would allow the server to use drive E:  to make reference to 'c:\', as
  2219.      the workstations probably do.  Thus E:  becomes a common path to drive
  2220.      C: across the whole network.
  2221.  
  2222.      The CB Simulator is an online conferencing feature  that  is  intended
  2223.      for  use  on  multi-node  LAN  based  BBS systems (NetBIOS emulator is
  2224.      required).  The CB Simulator checks for the presence of NetBIOS before
  2225.      allowing callers to get stuck in the CB mode.
  2226.  
  2227.      Locally, when the host mode enters the CB Simulator, split screen mode
  2228.      is automatically invoked.  You should advise the  caller  to  manually
  2229.      invoke split screen mode on their terminals -- otherwise they will not
  2230.      see  what they type (remember,  split screen is half-duplex,  the host
  2231.      mode will  not  echo  the  caller's  keystrokes  during  CB  Simulator
  2232.      operations).
  2233.  
  2234.      When using the CB Simulator,  please make sure that you have allocated
  2235.      adequate  NCBs.  I  have  setup  the  following command for my NetBIOS
  2236.      startup:
  2237.  
  2238.                    lanbios irq=5 address=2 ncbs=35 sessions=15
  2239.  
  2240.  
  2241.  
  2242.                                    - 38 -
  2243.  
  2244.  
  2245.      I am not sure if 35 NCBs are enough,  but it seems to work fairly well
  2246.      on  a 3 node LAN.  On the server,  if it is not dedicated,  you should
  2247.      insure that the server can manage sufficient simultaneous tasks  -  my
  2248.      server  was set for 2 simultaneous tasks,  but I now have it setup for
  2249.      5.  This does consume memory,  to be sure,  each extra  task  requires
  2250.      considerable buffer space,  but it is required for the CB Simulator to
  2251.      work alongside the other network tasks.  On my server, I have found it
  2252.      necessary to overlay *all* external processes, due to the lack of free
  2253.      memory above GT.
  2254.  
  2255.      The following files must be created by the sysop, if the CB Simulator,
  2256.      command 'Z' from the main menu, is going to be used:
  2257.  
  2258.          CBWELCOM.BBS ...... Welcomes callers to the CB Simulator.
  2259.          CBHELP.BBS ........ Displayed in response to '@help' by the
  2260.                                 caller.
  2261.          CBPAGE.BBS ........ Displayed to a caller who receives an '@page'
  2262.                                 from another caller.
  2263.          CBGREET.BBS ....... Displayed for the caller after entering his
  2264.                                 handle.  The file should be short and to
  2265.                                 the point, i.e. introduce the automatic
  2266.                                 '@who" list and tell the caller how to get
  2267.                                 help.
  2268.  
  2269.      The following commands are available to callers in the CB Simulator:
  2270.  
  2271.          @help ........ Display the CBHELP.BBS file.
  2272.          @ignore ...... Ignore further pages from other callers.
  2273.          @page ........ Invite another caller, by handle, into CB mode.
  2274.                            Ex: @page foxy
  2275.                         Where 'foxy' is the handle of the caller you are
  2276.                         paging.  The handle is obtained from the '@who'
  2277.                         list.
  2278.          @quit ........ Quit from CB Simulator to the main BBS menu.
  2279.          @tune ........ Tune the CB Simulator to channels 1 through 98.
  2280.                            Ex: @tune 5
  2281.          @who ......... Find out who else in on the system and which
  2282.                         channel, if any, they are tuned to.
  2283.          @sys ......... For sysops only.  Allows broadcast messages or
  2284.                         messages directed to specific pids.
  2285.                            Ex: @sys 5 Hello Mike!
  2286.                            Ex: @sys The system is going down in 5 minutes!
  2287.                         The first example sends a message to pid  5,  where
  2288.                         Mike  is  logged  on.  The  second  example sends a
  2289.                         broadcast message,  to all pids,  telling them that
  2290.                         the system is about to go down.  Please note,  that
  2291.                         these pids do not have to be in the CB Simulator to
  2292.                         get the  message.  These  messages  will  interrupt
  2293.                         most things, except file transfers.
  2294.  
  2295.      NOTE: A pid corresponds to a "position" or "workstation" on the LAN.
  2296.  
  2297.      The  CB  Simulator  uses  the  NetBIOS  Datagram  feature  to pass the
  2298.      messages between pids on the LAN.  The Datagrams are sent to the group
  2299.  
  2300.  
  2301.                                    - 39 -
  2302.  
  2303.  
  2304.      name 'GT_POWER_CB_SIM" (the 16th byte  is  0x00).  GT  registers  this
  2305.      group  name  whenever  the host mode is started under NetBIOS in a LAN
  2306.      environment.  The Datagrams used by GT  are  of  a  fixed  format,  as
  2307.      follows  (for  those  of  you  that  want to try their hand at NetBIOS
  2308.      programming):
  2309.  
  2310.      Byte Offset        Description
  2311.      -----------        -----------
  2312.           0             'S' for special messages, such as '@sys'.
  2313.                         'C' for normal CB Simulator messages.
  2314.          1-2            The channel number the message is addressed to.
  2315.                         Channels 1-98 are the normal CB channels.  Channel
  2316.                         99 is used for broadcast messages.
  2317.          3-4            The originating pid number.  This is used to keep a
  2318.                         pid from processing messages that he originates.
  2319.                         Datagrams are received by *all* LAN stations having
  2320.                         registered the group name 'GT_POWER_CB_SIM'.
  2321.          5-6            Transaction code:
  2322.                             '00' - Normal message.  All 'C' type datagrams.
  2323.                             '01' - Who inquiry.     'S' type datagram.
  2324.                             '02' - Who reply.        "    "      "
  2325.                             '03' - Page inquiry.     "    "      "
  2326.                         The   transaction  codes  '01'  and  '02'  are  now
  2327.                         obsolete,  since the @who command uses the PID_FILE
  2328.                         to  get  its information.  Transaction code numbers
  2329.                         up to '50' are reserved for  future  expansion.  It
  2330.                         is  anticipated  that  '04' will be used for remote
  2331.                         submission of DOS commands,  and '05' will be  used
  2332.                         to remotely shutdown all pids.
  2333.           7             Unused.  Reserved.
  2334.           8             ','.  Constant.
  2335.          9-16           The sender's handle.  If no handle, then the first
  2336.                         name of the sender.
  2337.           17            ','.  Constant.
  2338.         18-127          Text.  In a page transaction, this is the handle of
  2339.                         the caller  being  paged.  In  other  transactions,
  2340.                         this may be blank or contain a regular message.  It
  2341.                         is  variable  length,   only  the  amount  of  data
  2342.                         required is transmitted,  up to the maximum of  128
  2343.                         bytes.
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.                                    - 40 -
  2361.  
  2362.  
  2363.      Host Mode LOG
  2364.      -------------
  2365.      A  few sections above,  I suggested that logging be TRUE,  while GT is
  2366.      running in Host Mode.  Here is why:  during Host Mode  operations,  GT
  2367.      will log all of the calls received,  who called and the password used.
  2368.      A record will also be kept of who tranfered each  file,  how  long  it
  2369.      took  and the efficiency of the transfer.  I consider the gathering of
  2370.      this information to be critical to the operation of a GT Host.
  2371.  
  2372.      The Shell to DOS
  2373.      ----------------
  2374.      The DOS Shell allows remote callers to operate your computer remotely.
  2375.      When the "Shell to DOS" option of the main menu is selected,  GT  will
  2376.      shell  to  the  file GTDOOR.BAT.  This file will set up for the remote
  2377.      shell by executing the proper CTTY command,  then execute a  secondary
  2378.      DOS shell and let the user into the system.  He will have the console,
  2379.      so  be  cautious!  The  caller  will be instructed to issue the "EXIT"
  2380.      command to return to GT.
  2381.  
  2382.      While the DOS Shell is active and the caller is out in the system,  GT
  2383.      will  not  be  idle.  GT will act as a watchdog.  If the caller should
  2384.      hang up while the DOS shell is active, GT will force the system to re-
  2385.      boot and will drop the DTR signal to the modem.  If commands to  start
  2386.      GT  are  placed in the AUTOEXEC.BAT file and a script is used to start
  2387.      Host Mode,  then GT will automatically recycle.  The script command to
  2388.      start Host Mode is simply HOST.
  2389.  
  2390.      In order to get the DOS Shell to work,  the DOOR.EXE or TDOOR.EXE file
  2391.      must  be  available  in the GTPATH directory (and the GTPATH directory
  2392.      should probably be in the  DOS  PATH  statement  in  the  AUTOEXEC.BAT
  2393.      file).  DOOR.EXE  is used with the "Rapid" version of GT and TDOOR.EXE
  2394.      is used with the standard or "XT" version of GT.
  2395.  
  2396.      NOTE:  For  this process to work correctly,  the COMMAND.COM file must
  2397.             reside in a  directory  pointed  to  by  the  PATH  environment
  2398.             variable.  In order for this to work on a normal drive C:  hard
  2399.             disk, "C:\" should be added to the PATH variable.  For example:
  2400.  
  2401.                       PATH=c:\dos;c:\lotus;c:\gt;c:\
  2402.  
  2403.             This will ensure that the COMMAND.COM file can be  located  for
  2404.             execution by the GTDOOR.BAT runstream.
  2405.  
  2406.             A  problem  with the DOS Shell has been reported when using DOS
  2407.             2.xx.  This is caused by  the  fact  that  DOS  2.xx  does  not
  2408.             support  full  pathnames  when  requesting  the  execution of a
  2409.             program.  To work around this problem,  if you have  DOS  2.xx,
  2410.             you  should  place  the GTDOOR.BAT file in some other directory
  2411.             besides the GT home directory.  If GT finds GTDOOR.BAT  in  his
  2412.             home  directory,  then GT will issue an EXEC function with full
  2413.             pathname,  otherwise GT will not specify any pathname and  will
  2414.             rely  on  the DOS PATH command.  The directory where GTDOOR.BAT
  2415.             is stored must be pointed to by the DOS PATH  command  in  this
  2416.             case.
  2417.  
  2418.  
  2419.                                    - 41 -
  2420.  
  2421.  
  2422.      Using the Shell to DOS
  2423.      ----------------------
  2424.      What  can  one do,  once one is running DOS remote via a CTTY command?
  2425.      Well,  one can't use any of the Fn keys or the other special  keys  on
  2426.      the  IBM  key-board!  One  can't  run  any  program  that  does direct
  2427.      hardware control of the screen or keyboard.  All screen  and  keyboard
  2428.      input must be done through DOS.  Well,  then what can one do?  One can
  2429.      run any  DOS  command;  for  example  COPY,  ERASE,  DIR  and  others,
  2430.      including  EDLIN,  all work properly.  In fact,  any program that uses
  2431.      the standard DOS handles for input and  output  to  the  console  will
  2432.      work.  But  one  still  won't have F1 - F10 or the other special keys.
  2433.      Well, that's not quite so...if the Host Mode computer is setup so that
  2434.      the ANSI.SYS device driver is loaded via  the  CONFIG.SYS  file.  Just
  2435.      put a line like this one into the CONFIG.SYS file:
  2436.  
  2437.                                DEVICE=ANSI.SYS
  2438.  
  2439.      Naturally,  ANSI.SYS must be located in the root directory of the boot
  2440.      disk.  After that has been done,  re-boot the computer.  ANSI.SYS will
  2441.      then  be  loaded.  One can now re-map the keyboard so that the special
  2442.      keys are mapped to Ctrl keys instead.  This will enable programs to be
  2443.      run that use these keys; for example EDLIN uses the arrow keys as well
  2444.      as several function keys.
  2445.  
  2446.      How does one re-map keys with ANSI.SYS?  The following  sequence  must
  2447.      be issued for each key that needs to be re-mapped:
  2448.  
  2449.                             ESC [ ##;##;##;...p
  2450.  
  2451.      The  (...)  indicate that the sequence may be repeated as needed,  but
  2452.      each sequence only re-maps one  key.  Once  a  file  containing  these
  2453.      mapping  commands  has  been created,  they can be sent to ANSI.SYS by
  2454.      TYPEing the file.  The "##" in the sequence above indicate  the  ASCII
  2455.      codes  for  the  keys to be mapped.  For example,  let's map F3 to the
  2456.      Ctrl-D key.  The ASCII codes for F3 are 0,61 and the  ASCII  code  for
  2457.      Ctrl-D  is  4.  (Note:  the special keys have two codes - the first is
  2458.      always 0.  These  codes  are  really  called  extended  ASCII  codes.)
  2459.      Therefore,  the  proper  ANSI.SYS command to re-map F3 to Ctrl-D would
  2460.      be:
  2461.  
  2462.                             ESC [ 4;0;61p
  2463.  
  2464.      Note:  Blanks are included for  readability  only,  the  "p"  must  be
  2465.             lowercase,  and the symbol ESC stands for the escape character,
  2466.             CHR$(27).
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.                                    - 42 -
  2479.  
  2480.  
  2481.      Usage of Color
  2482.      --------------
  2483.      The GT Host mode now includes color built-in to  the  various  prompts
  2484.      and  menus.  These  colors  can be configured.  The colors used are of
  2485.      two different sets.  The first set is composed of the colors  for  the
  2486.      "Window foreground and background", and the "Phone directory high lite
  2487.      foreground  and  background".  These  colors should be subdued,  since
  2488.      they are used for normal informational type  displays.  For  important
  2489.      command  line  and  menu  displays,  the  program  will use the colors
  2490.      designated for "Option high lite" and "Option low lite".
  2491.  
  2492.      The user  can  customize  the  sysop  prompt  with  these  colors,  by
  2493.      including  the  color  codes  in the SYSOP.BBS file.  Here is the code
  2494.      scheme:
  2495.  
  2496.           %  ...... Used to kill the meaning of the next character.
  2497.           %% ...... Used to display the % character.
  2498.           $  ...... Shift   the   pallette  to  the  "Window  foreground  /
  2499.                     background" set.
  2500.           &  ...... Shift the pallette to the "Option  high/low  lite"  set
  2501.                     (the default).
  2502.           [] ...... High lites whatever is between the [ and ].
  2503.           ~  ...... Kills the color.  Goes back to standard B&W image.
  2504.  
  2505.      For example:
  2506.  
  2507.           $ [SYSOP] John~ here.
  2508.  
  2509.      This  would  shift pallette to the "Window foreground/background" set,
  2510.      high lite the word "SYSOP" and kill the color after the name "John".
  2511.  
  2512.      Actually,  this scheme was only intended to add color to the SYSOP.BBS
  2513.      file  and  other  built-in  menus  and prompts,  but some have already
  2514.      discovered that these colors  can  be  added  to  the  GTMDIR.BBS  and
  2515.      GTDIR.BBS files, to add color and emphasis.
  2516.  
  2517.  
  2518.      Logon DOOR
  2519.      ----------
  2520.      In the GT POWER home directory,  it is possible to create a DOOR file,
  2521.      with a special name,  that will be executed whenever a user logs  onto
  2522.      your system.  The file is named 'GTLOGON.BAT' and it is constructed in
  2523.      the  same  manner  as  a  normal  DOOR  batch file (shown above).  For
  2524.      example:
  2525.  
  2526.              GTLOGON.BAT
  2527.              -----------
  2528.                  %1 com%2
  2529.                     .
  2530.                     .    { Logon door executes here }
  2531.                  %1 con
  2532.  
  2533.      The sequence of events goes like this after a user calls your system:
  2534.  
  2535.  
  2536.  
  2537.                                    - 43 -
  2538.  
  2539.  
  2540.           1.  The GTWELCOM.BBS is displayed.
  2541.           2.  Then any BULLETx.BBS is displayed.
  2542.           3.  Then the GTBMENU.BBS is displayed.
  2543.           4.  Then the GTLOGON.BAT is executed, if available.
  2544.  
  2545.      It  is  possible  to have a special logon door for new callers.  It is
  2546.      named 'GTNLOGON.BAT'.  It will execute just prior to the regular logon
  2547.      door.  If you have logon/logoff doors overlaid,  then you  must  chain
  2548.      from  the  new caller logon door to the regular logon door.  Remember,
  2549.      this is only required if you use the command line  options  /V:L.  For
  2550.      example:
  2551.  
  2552.              GTNLOGON.BAT
  2553.              ------------
  2554.                  %1 com%2
  2555.                     .
  2556.                     .             { New user logon door executes here }
  2557.                     .
  2558.                  %1 con
  2559.                  GTLOGON          { Chain to regular logon, if overlaying }
  2560.  
  2561.  
  2562.      Logoff Batch File
  2563.      -----------------
  2564.      It is, also, possible to have a logoff batch file, 'GTLOGOFF.BAT',  in
  2565.      the  GT  home directory.  This is not a DOOR,  but simply a batch file
  2566.      that GT POWER will run,  if it  is  available,  whenever  a  user  has
  2567.      disconnected  from your system.  It may contain any normal DOS command
  2568.      or other processing as required, if enough memory is available.
  2569.  
  2570.      GT  remains  in  memory while this batch file executes in a normal DOS
  2571.      Shell.  It can be useful for sysops that want to backup their files if
  2572.      they are using a RAM disk for things like the log file.
  2573.  
  2574.      Please note, this is not a DOOR, that CTTY is not redirected, and that
  2575.      the 'watchdog' is not enabled during the execution of this batch file.
  2576.  
  2577.      In addition,  when you have a new caller to your system,  GT will run,
  2578.      if  available,  a  batch  file  called  'GTNLOGOF.BAT'.  If  you  have
  2579.      requested overlaid logon/logoff doors,  then you  must  chain  to  the
  2580.      logoff door (if you have one).  Remember, this is only required if you
  2581.      use the command line option /V:L.  For example:
  2582.  
  2583.              GTNLOGOF.BAT
  2584.              ------------
  2585.                     .            { No DOS redirection in logoff doors }
  2586.                     .
  2587.                     .            { New user logoff door executes here }
  2588.                     .
  2589.                  GTLOGOFF        { Chain to regular logoff, if overlaying }
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.                                    - 44 -
  2597.  
  2598.  
  2599.      APPENDIX
  2600.      --------
  2601.      Here is a handy list of extended ASCII codes:
  2602.  
  2603.                Key       Codes                 Key            Codes
  2604.                ---       -----                 ---            -----
  2605.                F1        0,59                  Right Arrow    0,77
  2606.                F2        0,60                  Left Arrow     0,75
  2607.                F3        0,61                  Up Arrow       0,72
  2608.                F4        0,62                  Down Arrow     0,80
  2609.                F5        0,63                  Home           0,71
  2610.                F6        0,64                  End            0,79
  2611.                F7        0,65                  PgUp           0,73
  2612.                F8        0,66                  PgDn           0,81
  2613.                F9        0,67                  Ins            0,82
  2614.                F10       0,68                  Del            0,83
  2615.  
  2616.  
  2617.  
  2618.      Here are some sample ANSI sequences!
  2619.  
  2620.                     Escape Codes         Meaning to ANSI.SYS
  2621.                     ------------         -------------------
  2622.                     ^[[4;0;61p           F3          -> Ctrl-D
  2623.                     ^[[5;0;62p           F4          -> Ctrl-E
  2624.                     ^[[19;0;77p          Right Arrow -> Ctrl-S
  2625.                     ^[[1;0;75p           Left Arrow  -> Ctrl-A
  2626.  
  2627.      With these kinds of mappings,  almost any program should  be  able  to
  2628.      run,  if  it uses the DOS handles for standard input and output.  This
  2629.      should make the "Shell to DOS" quite useful.
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655.                                    - 45 -
  2656.  
  2657.  
  2658.      Setup for Power-Loss Protected Operation
  2659.      ----------------------------------------
  2660.      It is quite easy to prepare a set of files  that  will  allow  you  to
  2661.      bring  GT  POWER  up  into  what  I  should  like to call a Power-Loss
  2662.      Protected Host Mode of operation.  First, however, a few concepts:
  2663.  
  2664.      Whenever power  is  first  applied  to  your  system,  (or  re-applied
  2665.      following  a blackout),  the system will boot your DOS into memory and
  2666.      that, in turn,  will look for two files;  CONFIG.SYS and AUTOEXEC.BAT.
  2667.      Finding the CONFIG.SYS, the DOS will tailor your environment according
  2668.      to  its  contents  (such  as setting a new maximum number of files and
  2669.      file buffers).  Finding the AUTOEXEC.BAT file will cause the system to
  2670.      immediately execute the set of DOS instructions found therein.
  2671.  
  2672.      GT POWER may be caused to  run  in  an  unattended  Host  mode  either
  2673.      through  GT commands entered at the keyboard (Alt-dash) or via script.
  2674.      The GT command to do so in a GT script is simply: HOST.
  2675.  
  2676.      The user should have a TSR called DOORMAN  loaded  if  the  'watchdog'
  2677.      function  is  required  during  a remote shell to DOS or a remote door
  2678.      activation.  DOORMAN will reboot the computer  in  the  event  that  a
  2679.      caller drops carrier while is the shell or door.
  2680.  
  2681.      Given  the  above,  to set up the system for Power-Loss_Protected Host
  2682.      mode operation of GT POWER you must construct the following files:
  2683.  
  2684.           Your normal AUTOEXEC.BAT
  2685.           A copy of the normal AUTOEXEC.BAT called AUTOEXEC.OLD
  2686.           A new file called AUTOEXEC.GT
  2687.           A new file called HOST.BAT
  2688.           A GT script file called HOST.SCR
  2689.  
  2690.      The first four of these files belong in your root directory while  the
  2691.      script  file  should  be  placed  in  the  same  directory as GT POWER
  2692.      resides.  When you want to enter the Power-Loss-Protected Host mode of
  2693.      GT POWER you need only type the single word HOST from  any  directory.
  2694.      The  result will be the invoking of the HOST.BAT file which,  in turn,
  2695.      copies the AUTOEXEC.GT file on top of  your  normal  AUTOEXEC.BAT  (so
  2696.      that if a re-boot occurs it will get control),  it then sets a default
  2697.      directory so that your  private  directories  are  not  accessible  to
  2698.      callers  into the system,  and then it invokes GT POWER specifying the
  2699.      name and location of the HOST.SCR script file you  created.  Thus,  GT
  2700.      will  be  given  control  and  placed  into  Host  mode.  Upon  normal
  2701.      termination,  GT exits to DOS which returns to the unexecuted  portion
  2702.      of  the HOST.BAT file and continues by doing a copy of AUTOEXEC.OLD (a
  2703.      copy of your original AUTOEXEC.BAT) on top  of  the  current  one  and
  2704.      ending.
  2705.  
  2706.      In the event of a power failure while in Host mode, or loss of carrier
  2707.      while  in  the DOS Shell,  the AUTOEXEC.BAT file that is in place will
  2708.      reset to the default (safe) drive and reinvoke the  Host  mode  of  GT
  2709.      POWER.
  2710.  
  2711.  
  2712.  
  2713.  
  2714.                                    - 46 -
  2715.  
  2716.  
  2717.      Sample Files for Power-Loss Protected Operation
  2718.      -----------------------------------------------
  2719.      Original AUTOEXEC.OLD:
  2720.  
  2721.           PATH=C:\DOS;C:\;C:\GT
  2722.           set GTPATH=C:\GT
  2723.  
  2724.      AUTOEXEC.GT:
  2725.  
  2726.           PATH=C:\DOS;C:\;C:\GT
  2727.           set GTPATH=C:\GT
  2728.           host
  2729.  
  2730.      HOST.BAT:
  2731.  
  2732.           copy    autoexec.gt autoexec.bat
  2733.           cd      \bullet
  2734.           gt1600  host.scr
  2735.           if      errorlevel 255   host
  2736.           cd      \
  2737.           copy    autoexec.old autoexec.bat
  2738.  
  2739.      HOST.SCR:
  2740.  
  2741.           host
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.                                    - 47 -
  2774.  
  2775.  
  2776.      GT POWER under DESQview(tm)
  2777.      ---------------------------
  2778.      GT POWER runs quite well as  a  task  under  the  DESQview(tm)  multi-
  2779.      tasking  system.  There  are  a few things that should be kept in mind
  2780.      when doing so, however.
  2781.  
  2782.      GT will auto-detect DESQview, and if you have told BIOS Video = FALSE,
  2783.      then  GT  will  write  directly to the DESQview screen buffer (greatly
  2784.      speeding  the  screen  update  process).  This  may  adversely  affect
  2785.      DESQview  aware  programs  run  in  a shell of GT,  since they may not
  2786.      properly tell DESQview which portions of the screen to update.  If you
  2787.      run into this problem,  tell GT BIOS Video =  TRUE.  This  will  cause
  2788.      screen updates to be slower, but the shell programs will work better.
  2789.  
  2790.      GT  will  automatically  give  up  unused  time  to DESQview,  so that
  2791.      programs running in other windows are not severely impacted  while  GT
  2792.      is idle.
  2793.  
  2794.      Also, you will need to provide enough memory for GT to run while under
  2795.      DESQview(tm).  If you do not have to consider KERMIT  or  ZMODEM  then
  2796.      you  can  run  GT  in  a  partition  of  as  small  as  360K  of  RAM.
  2797.      Experimentation has shown that in order  to  support  ZMODEM  and  the
  2798.      other  protocols  mentioned  above  you will need to set the partition
  2799.      size to 460K.
  2800.  
  2801.      GT,  as it requires rapid access to the serial port you are using  for
  2802.      communications must be the first task loaded in DESQview(tm).  And,  a
  2803.      performance option of DESQview(tm) (set by invoking the SETUP program)
  2804.      must be set showing the existence of High Speed Communications.  Other
  2805.      options that need to be set include the fact that GT is NOT  SWAPPABLE
  2806.      to  disk and time slices somewhere between 3 and 6 ticks in length per
  2807.      partition.
  2808.  
  2809.      Also,  it  would be best to tell DESQview not to virtualize the screen
  2810.      output while GT is active.  This will help in making screen output  as
  2811.      rapid as possible.
  2812.  
  2813.      (tm) DESQview is the trademark of QuarterDeck Office Systems.
  2814.  
  2815.  
  2816.                                  - THE END -
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.                                    - 48 -
  2833.